Skip to content

Commit

Permalink
fix: Deleted grandle files & changed bottom bar styles for ios.
Browse files Browse the repository at this point in the history
  • Loading branch information
svarts committed May 12, 2024
1 parent 8af8ad0 commit ffcb78a
Show file tree
Hide file tree
Showing 14 changed files with 24,247 additions and 14,278 deletions.
6 changes: 3 additions & 3 deletions app/(tabs)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ const CoinItem = ({ coin }: { coin: Coin }) => {
const styles = StyleSheet.create({
shadow: {
shadowColor: '#900271',
shadowOffset: { width: 0, height: 15 },
shadowOpacity: 0.5,
shadowOffset: { width: 0, height: 25 },
shadowOpacity: 0.4,
shadowRadius: 6,
elevation: 25,
elevation: 20
}
});
49 changes: 0 additions & 49 deletions app/build.gradle.kts

This file was deleted.

15 changes: 0 additions & 15 deletions app/src/main/kotlin/org/example/App.kt

This file was deleted.

14 changes: 0 additions & 14 deletions app/src/test/kotlin/org/example/AppTest.kt

This file was deleted.

12 changes: 9 additions & 3 deletions components/navigation/TabBarIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Platform, ViewStyle } from 'react-native';
import { Entypo, FontAwesome5, MaterialIcons } from '@expo/vector-icons';
import { ViewStyle } from 'react-native';

interface TabBarIconProps extends Partial<React.ComponentProps<typeof Entypo> & React.ComponentProps<typeof FontAwesome5> & React.ComponentProps<typeof MaterialIcons>> {
style?: ViewStyle;
Expand All @@ -11,5 +11,11 @@ interface TabBarIconProps extends Partial<React.ComponentProps<typeof Entypo> &
export function TabBarIcon({ style, iconFamily, ...rest }: TabBarIconProps) {
const IconComponent = iconFamily === 'entypo' ? Entypo : iconFamily === 'fontAwesome' ? FontAwesome5 : MaterialIcons;

return <IconComponent size={20} style={[{ marginTop: 21 }, style]} {...rest} />;
}
const iconStyle: ViewStyle = {
...style,
alignItems: 'center',
...(Platform.OS === 'ios' && { marginTop: 21 })
};

return <IconComponent size={20} style={iconStyle} {...rest} />;
}
13 changes: 0 additions & 13 deletions gradle/libs.versions.toml

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 0 additions & 7 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

249 changes: 0 additions & 249 deletions gradlew

This file was deleted.

Loading

0 comments on commit ffcb78a

Please sign in to comment.