فهرست منبع

bottom insets fix

Viktoriia 4 هفته پیش
والد
کامیت
e6941396e0
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/screens/InAppScreens/MapScreen/FilterModal/index.tsx

+ 3 - 2
src/screens/InAppScreens/MapScreen/FilterModal/index.tsx

@@ -436,7 +436,7 @@ const FilterModal = forwardRef<
             ) : null}
           </View>
 
-          <View style={{ marginTop: 'auto', marginBottom: 24 }}>
+          <View style={{ marginTop: 'auto' }}>
             <Button
               children="Reset"
               onPress={() => {
@@ -924,7 +924,7 @@ const FilterModal = forwardRef<
             )}
           </View>
 
-          <View style={{ marginTop: 'auto', marginBottom: 24 }}>
+          <View style={{ marginTop: 'auto' }}>
             <Button
               children="Reset"
               onPress={() => {
@@ -1027,6 +1027,7 @@ const FilterModal = forwardRef<
         defaultOverlayOpacity={0.2}
         onClose={handleCloseFilter}
         containerStyle={[styles.sheetBackground, isSeriesFilter ? { height: '100%' } : {}]}
+        safeAreaInsets={{ bottom: insets.bottom, top: insets.top, left: 0, right: 0 }}
       >
         <View
           style={[