Browse Source

small fixes

Viktoriia 8 tháng trước cách đây
mục cha
commit
06b9dc1bbe

+ 1 - 1
src/components/HorizontalTabView/index.tsx

@@ -38,7 +38,7 @@ export const HorizontalTabView = ({
       renderLabel={({ route, focused }) => (
         <>
           <View style={[styles.tabLabelContainer, focused ? styles.tabLabelFocused : null]}>
-            {route.icon ? (
+            {route.icon === 'ban' ? (
               <BanIcon width={15} height={15} fill={focused ? Colors.WHITE : Colors.DARK_BLUE} />
             ) : (
               <Text style={[styles.label, focused ? styles.labelFocused : null]}>

+ 1 - 1
src/screens/InAppScreens/MapScreen/CountryViewScreen/index.tsx

@@ -226,7 +226,7 @@ const CountryViewScreen: FC<Props> = ({ navigation, route }) => {
       </TouchableOpacity>
 
       <ScrollView
-        contentContainerStyle={{ flexGrow: 1 }}
+        contentContainerStyle={{}}
         nestedScrollEnabled={true}
         showsVerticalScrollIndicator={false}
       >

+ 1 - 1
src/screens/InAppScreens/MapScreen/RegionViewScreen/index.tsx

@@ -345,7 +345,7 @@ const RegionViewScreen: FC<Props> = ({ navigation, route }) => {
       </TouchableOpacity>
 
       <ScrollView
-        contentContainerStyle={{ flexGrow: 1 }}
+        contentContainerStyle={{}}
         nestedScrollEnabled={true}
         showsVerticalScrollIndicator={false}
       >

+ 7 - 10
src/screens/InAppScreens/MapScreen/style.tsx

@@ -68,17 +68,14 @@ export const styles = StyleSheet.create({
     borderRadius: 9,
     borderColor: 'white',
     backgroundColor: '#ED9334',
-    scale: 1,
-    shadow: {
-      shadowColor: "#212529",
-      shadowOffset: {
-        width: 0,
-        height: 4,
-      },
-      shadowOpacity: 0.12,
-      shadowRadius: 8,
-      elevation: 5,
+    shadowColor: "#212529",
+    shadowOffset: {
+      width: 0,
+      height: 4,
     },
+    shadowOpacity: 0.12,
+    shadowRadius: 8,
+    elevation: 5,
   },
   searchContainer: {
     flexDirection: 'row',