mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Refactor storedSetting object destructuring in
main function
This commit is contained in:
+1
-1
@@ -682,7 +682,7 @@ export async function ObserveMenuItemPosition() {
|
||||
}
|
||||
|
||||
function main(storedSetting) {
|
||||
const { onoff } = storedSetting;
|
||||
const onoff = storedSetting.onoff;
|
||||
DarkMode = storedSetting.DarkMode;
|
||||
|
||||
// Handle undefined onoff setting
|
||||
|
||||
Reference in New Issue
Block a user