diff --git a/src/background.ts b/src/background.ts index 787e98a5..fc67db2c 100644 --- a/src/background.ts +++ b/src/background.ts @@ -281,6 +281,7 @@ async function UpdateCurrentValues() { browser.runtime.onInstalled.addListener(function (event) { browser.storage.local.remove(['justupdated']); + browser.storage.local.remove(['data']); UpdateCurrentValues(); if ( event.reason == 'install', event.reason == 'update' ) { browser.storage.local.set({ justupdated: true });