fix menu not showing on update

This commit is contained in:
SethBurkart123
2023-10-30 13:40:00 +11:00
parent beccb1e3e5
commit 3a3b3e9d55
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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();
}