There was an error while loading. Please reload this page.
1 parent c6bac3a commit fd7b345Copy full SHA for fd7b345
1 file changed
src/script/Background.ts
@@ -278,8 +278,8 @@ export default class Background {
278
// Display update notification
279
try {
280
if (chrome.notifications != null) {
281
- const showNotification = await this.Config.getSyncStorage({ showUpdateNotification: true });
282
- if (showNotification) {
+ const { showUpdateNotification } = await this.Config.load('showUpdateNotification');
+ if (showUpdateNotification) {
283
const translation = new this.Translation(['common', 'background']);
284
chrome.notifications.create('extensionUpdate', {
285
type: 'basic',
0 commit comments