Skip to content

Commit fd7b345

Browse files
committed
🐛 (background): Fix for showUpdateNotification setting
Reference: #751
1 parent c6bac3a commit fd7b345

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/script/Background.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ export default class Background {
278278
// Display update notification
279279
try {
280280
if (chrome.notifications != null) {
281-
const showNotification = await this.Config.getSyncStorage({ showUpdateNotification: true });
282-
if (showNotification) {
281+
const { showUpdateNotification } = await this.Config.load('showUpdateNotification');
282+
if (showUpdateNotification) {
283283
const translation = new this.Translation(['common', 'background']);
284284
chrome.notifications.create('extensionUpdate', {
285285
type: 'basic',

0 commit comments

Comments
 (0)