Commit 504baeef authored by Akinwale Ariwodola's avatar Akinwale Ariwodola
Browse files

fullscreen media player restore tweak

parent 6c556337
......@@ -299,8 +299,6 @@ class FilePage extends React.PureComponent {
handleFullscreenToggle = isFullscreen => {
const { toggleFullscreenMode } = this.props;
this.setState({ fullscreenMode: isFullscreen });
toggleFullscreenMode(isFullscreen);
if (isFullscreen) {
......@@ -317,6 +315,7 @@ class FilePage extends React.PureComponent {
NativeModules.UtilityModule.showNavigationBar();
}
this.setState({ fullscreenMode: isFullscreen });
StatusBar.setHidden(isFullscreen);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment