Skip to content

Commit

Permalink
safeAreaView: Use SafeAreaView in LightboxScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
borisyankov authored and chrisbobbe committed Sep 23, 2020
1 parent 90a39b3 commit 96981eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lightbox/LightboxScreen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* @flow strict-local */
import React, { PureComponent } from 'react';
import { View } from 'react-native';
import { SafeAreaView } from 'react-native';
import type { NavigationScreenProp } from 'react-navigation';
import { ActionSheetProvider } from '@expo/react-native-action-sheet';

Expand All @@ -26,12 +26,12 @@ export default class LightboxScreen extends PureComponent<Props> {
render() {
const { src, message } = this.props.navigation.state.params;
return (
<View style={styles.screen}>
<SafeAreaView style={styles.screen}>
<ZulipStatusBar hidden backgroundColor="black" />
<ActionSheetProvider>
<Lightbox src={src} message={message} />
</ActionSheetProvider>
</View>
</SafeAreaView>
);
}
}

0 comments on commit 96981eb

Please sign in to comment.