Skip to content

Commit

Permalink
fix: #13 System bars are not black on ImageViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
llr101 committed Jun 11, 2023
1 parent 732fd70 commit 50be123
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/imageViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,13 @@ const ImageViewer = forwardRef<ImageViewerRef, ImageViewerProps>((props, ref) =>
}));

return (
<Modal visible={!!activeSource} animationType="fade" transparent onRequestClose={onClose}>
<Modal
visible={!!activeSource}
animationType="fade"
transparent
onRequestClose={onClose}
statusBarTranslucent
>
<StatusBar backgroundColor="#000" barStyle="light-content" />
<GestureHandlerRootView style={styles.full}>
{activeSource ? (
Expand Down

0 comments on commit 50be123

Please sign in to comment.