You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,32 @@ The StatusBar will keep the last one provided in your app. So if the StatusBar i
203
203
})
204
204
```
205
205
206
+
If you need to restore the old bar style, after the browser is dismissed, you can try and patch the StatusBar.setBarStyle function to store the old value like so:
207
+
208
+
```js
209
+
// patch StatusBar.setBarStyle to make style accessible
210
+
const_setBarStyle=StatusBar.setBarStyle;
211
+
StatusBar.setBarStyle= (style) => {
212
+
StatusBar.currentStyle= style;
213
+
_setBarStyle(style);
214
+
};
215
+
```
216
+
217
+
You can than restore the old bar style after the browser has been dismissed like this:
0 commit comments