diff --git a/android/app/src/assets/fonts/AntDesign.ttf b/android/app/src/assets/fonts/AntDesign.ttf new file mode 100644 index 00000000..2abf0354 Binary files /dev/null and b/android/app/src/assets/fonts/AntDesign.ttf differ diff --git a/android/app/src/assets/fonts/Entypo.ttf b/android/app/src/assets/fonts/Entypo.ttf new file mode 100644 index 00000000..76d91cb9 Binary files /dev/null and b/android/app/src/assets/fonts/Entypo.ttf differ diff --git a/android/app/src/assets/fonts/EvilIcons.ttf b/android/app/src/assets/fonts/EvilIcons.ttf new file mode 100644 index 00000000..6868f7bb Binary files /dev/null and b/android/app/src/assets/fonts/EvilIcons.ttf differ diff --git a/android/app/src/assets/fonts/Feather.ttf b/android/app/src/assets/fonts/Feather.ttf new file mode 100644 index 00000000..49698e74 Binary files /dev/null and b/android/app/src/assets/fonts/Feather.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome.ttf b/android/app/src/assets/fonts/FontAwesome.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome5_Brands.ttf b/android/app/src/assets/fonts/FontAwesome5_Brands.ttf new file mode 100644 index 00000000..fc567cd2 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome5_Brands.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome5_Regular.ttf b/android/app/src/assets/fonts/FontAwesome5_Regular.ttf new file mode 100644 index 00000000..d1ac9ba1 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome5_Regular.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome5_Solid.ttf b/android/app/src/assets/fonts/FontAwesome5_Solid.ttf new file mode 100644 index 00000000..f33e8162 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome5_Solid.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome6_Brands.ttf b/android/app/src/assets/fonts/FontAwesome6_Brands.ttf new file mode 100644 index 00000000..30f55b74 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome6_Brands.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome6_Regular.ttf b/android/app/src/assets/fonts/FontAwesome6_Regular.ttf new file mode 100644 index 00000000..c79589d8 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome6_Regular.ttf differ diff --git a/android/app/src/assets/fonts/FontAwesome6_Solid.ttf b/android/app/src/assets/fonts/FontAwesome6_Solid.ttf new file mode 100644 index 00000000..e479fb29 Binary files /dev/null and b/android/app/src/assets/fonts/FontAwesome6_Solid.ttf differ diff --git a/android/app/src/assets/fonts/Fontisto.ttf b/android/app/src/assets/fonts/Fontisto.ttf new file mode 100644 index 00000000..96e2e81a Binary files /dev/null and b/android/app/src/assets/fonts/Fontisto.ttf differ diff --git a/android/app/src/assets/fonts/Foundation.ttf b/android/app/src/assets/fonts/Foundation.ttf new file mode 100644 index 00000000..6cce217d Binary files /dev/null and b/android/app/src/assets/fonts/Foundation.ttf differ diff --git a/android/app/src/assets/fonts/Ionicons.ttf b/android/app/src/assets/fonts/Ionicons.ttf new file mode 100644 index 00000000..c8700858 Binary files /dev/null and b/android/app/src/assets/fonts/Ionicons.ttf differ diff --git a/android/app/src/assets/fonts/MaterialCommunityIcons.ttf b/android/app/src/assets/fonts/MaterialCommunityIcons.ttf new file mode 100644 index 00000000..ba873595 Binary files /dev/null and b/android/app/src/assets/fonts/MaterialCommunityIcons.ttf differ diff --git a/android/app/src/assets/fonts/MaterialIcons.ttf b/android/app/src/assets/fonts/MaterialIcons.ttf new file mode 100644 index 00000000..9d09b0fe Binary files /dev/null and b/android/app/src/assets/fonts/MaterialIcons.ttf differ diff --git a/android/app/src/assets/fonts/Octicons.ttf b/android/app/src/assets/fonts/Octicons.ttf new file mode 100644 index 00000000..f8daedca Binary files /dev/null and b/android/app/src/assets/fonts/Octicons.ttf differ diff --git a/android/app/src/assets/fonts/SimpleLineIcons.ttf b/android/app/src/assets/fonts/SimpleLineIcons.ttf new file mode 100644 index 00000000..6ecb6868 Binary files /dev/null and b/android/app/src/assets/fonts/SimpleLineIcons.ttf differ diff --git a/android/app/src/assets/fonts/Zocial.ttf b/android/app/src/assets/fonts/Zocial.ttf new file mode 100644 index 00000000..e2b5fbb0 Binary files /dev/null and b/android/app/src/assets/fonts/Zocial.ttf differ diff --git a/android/build.gradle b/android/build.gradle index cb9d6232..9ca70714 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,5 +17,4 @@ buildscript { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") } } - apply plugin: "com.facebook.react.rootproject" diff --git a/src/components/navigators/TabBarNavigation/TabNavigator.tsx b/src/components/navigators/TabBarNavigation/TabNavigator.tsx index defc82bb..65b3cb75 100644 --- a/src/components/navigators/TabBarNavigation/TabNavigator.tsx +++ b/src/components/navigators/TabBarNavigation/TabNavigator.tsx @@ -1,6 +1,6 @@ import React, {useEffect} from 'react'; import {ColorValue} from 'react-native'; -import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; +import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'; import {getFocusedRouteNameFromRoute} from '@react-navigation/native'; import {useNavigation} from '@react-navigation/native'; @@ -33,37 +33,48 @@ const TabNavigator = () => { const renderIcon = (name: string) => - // eslint-disable-next-line react/no-unstable-nested-components ({color, size}: {color: ColorValue; size: number}) => - ; + ; return ( ( + + ), }} /> ( + + ), }} /> ( + + ), }} /> ( + + ), }} />