@@ -154,14 +154,14 @@ export const ImageGalleryFooterWithContext = <
154
154
} ;
155
155
156
156
return (
157
- < View
157
+ < SafeAreaView
158
158
accessibilityLabel = { accessibilityLabel }
159
159
onLayout = { ( event ) => setHeight ( event . nativeEvent . layout . height ) }
160
160
pointerEvents = { 'box-none' }
161
161
style = { styles . wrapper }
162
162
>
163
163
< Animated . View style = { footerStyle } >
164
- < SafeAreaView style = { [ { backgroundColor : white } , container ] } >
164
+ < View style = { [ { backgroundColor : white } , container ] } >
165
165
{ photo . type === FileTypes . Video ? (
166
166
videoControlElement ? (
167
167
videoControlElement ( { duration, onPlayPause, paused, progress, videoRef } )
@@ -175,37 +175,37 @@ export const ImageGalleryFooterWithContext = <
175
175
/>
176
176
)
177
177
) : null }
178
- < View style = { [ styles . innerContainer , { backgroundColor : white } , innerContainer ] } >
179
- { leftElement ? (
180
- leftElement ( { openGridView, photo, share, shareMenuOpen } )
181
- ) : (
182
- < ShareButton share = { share } ShareIcon = { ShareIcon } shareMenuOpen = { shareMenuOpen } />
183
- ) }
184
- { centerElement ? (
185
- centerElement ( { openGridView, photo, share, shareMenuOpen } )
186
- ) : (
187
- < View style = { [ styles . centerContainer , centerContainer ] } >
188
- < Text style = { [ styles . imageCountText , { color : black } , imageCountText ] } >
189
- { t < string > ( '{{ index }} of {{ photoLength }}' , {
190
- index : photoLength - selectedIndex ,
191
- photoLength,
192
- } ) }
193
- </ Text >
178
+ </ View >
179
+ < View style = { [ styles . innerContainer , { backgroundColor : white } , innerContainer ] } >
180
+ { leftElement ? (
181
+ leftElement ( { openGridView, photo, share, shareMenuOpen } )
182
+ ) : (
183
+ < ShareButton share = { share } ShareIcon = { ShareIcon } shareMenuOpen = { shareMenuOpen } />
184
+ ) }
185
+ { centerElement ? (
186
+ centerElement ( { openGridView, photo, share, shareMenuOpen } )
187
+ ) : (
188
+ < View style = { [ styles . centerContainer , centerContainer ] } >
189
+ < Text style = { [ styles . imageCountText , { color : black } , imageCountText ] } >
190
+ { t < string > ( '{{ index }} of {{ photoLength }}' , {
191
+ index : photoLength - selectedIndex ,
192
+ photoLength,
193
+ } ) }
194
+ </ Text >
195
+ </ View >
196
+ ) }
197
+ { rightElement ? (
198
+ rightElement ( { openGridView, photo, share, shareMenuOpen } )
199
+ ) : (
200
+ < TouchableOpacity onPress = { openGridView } >
201
+ < View style = { [ styles . rightContainer , rightContainer ] } >
202
+ { GridIcon ? GridIcon : < GridIconDefault /> }
194
203
</ View >
195
- ) }
196
- { rightElement ? (
197
- rightElement ( { openGridView, photo, share, shareMenuOpen } )
198
- ) : (
199
- < TouchableOpacity onPress = { openGridView } >
200
- < View style = { [ styles . rightContainer , rightContainer ] } >
201
- { GridIcon ? GridIcon : < GridIconDefault /> }
202
- </ View >
203
- </ TouchableOpacity >
204
- ) }
205
- </ View >
206
- </ SafeAreaView >
204
+ </ TouchableOpacity >
205
+ ) }
206
+ </ View >
207
207
</ Animated . View >
208
- </ View >
208
+ </ SafeAreaView >
209
209
) ;
210
210
} ;
211
211
@@ -300,7 +300,7 @@ const styles = StyleSheet.create({
300
300
} ,
301
301
innerContainer : {
302
302
flexDirection : 'row' ,
303
- height : 56 ,
303
+ paddingVertical : 4 ,
304
304
} ,
305
305
leftContainer : {
306
306
flex : 1 ,
0 commit comments