Update isModernUI check

This commit is contained in:
HighImKevin
2026-09-21 02:50:45 -04:00
parent cda0914475
commit 2d585bc8de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1111,7 +1111,7 @@
}
function isModernUI() {
return document.querySelector('.MuiBox-root') !== null;
return document.querySelector('.MuiBox-root') !== null || localStorage.getItem('layout')?.length === 0;
}
function injectIntoTopNavMain(entry) {