fullscreen media player restore tweak
This commit is contained in:
parent
6c55633751
commit
504baeefaf
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue