We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b7595 commit ea8afafCopy full SHA for ea8afaf
filebrowser.js
@@ -1049,6 +1049,22 @@ async function checkPushDialogs() {
1049
1050
// hide dialog
1051
dialogWrapper.classList.remove('visible');
1052
+
1053
+ // if on mobile,
1054
+ // change status bar color
1055
+ if (isMobile) {
1056
1057
+ if (body.classList.contains('expanded')) {
1058
1059
+ document.querySelector('meta[name="theme-color"]').content = '#1a1c24';
1060
1061
+ } else {
1062
1063
+ document.querySelector('meta[name="theme-color"]').content = '#313744';
1064
1065
+ }
1066
1067
1068
1069
// disable push buttons
1070
sidebar.classList.add('forking');
0 commit comments