mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix menu not showing on update
This commit is contained in:
+3
-3
@@ -15,8 +15,8 @@ import { MessageHandler } from "./seqta/utils/MessageListener.js";
|
||||
import { updateBgDurations } from "./seqta/ui/Animation.js";
|
||||
import { updateAllColors } from "./seqta/ui/colors/Manager.js";
|
||||
import { appendBackgroundToUI } from "./seqta/ui/ImageBackgrounds.js";
|
||||
/* import { EnableThemes } from "./seqta/ui/Themes.js";
|
||||
*/
|
||||
import { EnableThemes } from "./seqta/ui/Themes.js";
|
||||
|
||||
export let isChrome = window.chrome;
|
||||
let SettingsClicked = false;
|
||||
export let MenuOptionsOpen = false;
|
||||
@@ -774,7 +774,7 @@ document.addEventListener(
|
||||
|
||||
chrome.storage.local.get(null, function (items) {
|
||||
main(items);
|
||||
/* EnableThemes(); */
|
||||
EnableThemes();
|
||||
});
|
||||
}
|
||||
if (
|
||||
|
||||
+1
-1
@@ -314,7 +314,7 @@ function migrateOldStorage() {
|
||||
chrome.runtime.onInstalled.addListener(function (event) {
|
||||
chrome.storage.local.remove(["justupdated"]);
|
||||
UpdateCurrentValues();
|
||||
if ( event.reason == "install" ) {
|
||||
if ( event.reason == "install", event.reason == "update" ) {
|
||||
chrome.storage.local.set({ justupdated: true });
|
||||
migrateOldStorage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user