Skip to content

Commit f038792

Browse files
borisyankovgnprice
authored andcommitted
safeAreaView: Use SafeAreaView in LightboxScreen
1 parent 22c870d commit f038792

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lightbox/LightboxScreen.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* @flow strict-local */
22
import React, { PureComponent } from 'react';
3-
import { View, StyleSheet } from 'react-native';
3+
import { SafeAreaView, StyleSheet } from 'react-native';
44
import type { NavigationScreenProp } from 'react-navigation';
55
import { ActionSheetProvider } from '@expo/react-native-action-sheet';
66

@@ -25,12 +25,12 @@ export default class LightboxScreen extends PureComponent<Props> {
2525
render() {
2626
const { src, message } = this.props.navigation.state.params;
2727
return (
28-
<View style={styles.screen}>
28+
<SafeAreaView style={styles.screen}>
2929
<ZulipStatusBar hidden backgroundColor="black" />
3030
<ActionSheetProvider>
3131
<Lightbox src={src} message={message} />
3232
</ActionSheetProvider>
33-
</View>
33+
</SafeAreaView>
3434
);
3535
}
3636
}

0 commit comments

Comments
 (0)