From 332d6a8c09464aa65138b0d5e26dc4f3af203621 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Thu, 24 Nov 2022 20:08:00 +0000 Subject: [PATCH] remove `hideStatusBar` --- packages/app/src/App.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/app/src/App.jsx b/packages/app/src/App.jsx index 4f4cc168..6e91630c 100755 --- a/packages/app/src/App.jsx +++ b/packages/app/src/App.jsx @@ -378,6 +378,7 @@ class App extends React.Component { console.warn("[App] hideStatusBar is not supported on this platform") return false } + return await StatusBar.hide() }, showStatusBar: async () => { @@ -417,7 +418,7 @@ class App extends React.Component { }) StatusBar.setOverlaysWebView({ overlay: true }) - window.app.hideStatusBar() + //window.app.hideStatusBar() } const userAgentPlatform = window.navigator.userAgent.toLowerCase()