mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Update isModernUI check
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user