Skip to content

Commit 7890e1c

Browse files
committed
style: lint fixes
1 parent 73eb607 commit 7890e1c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

extension.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,11 @@ class WallapocketIndicator extends PanelMenu.Button {
133133
this._articles = [...uniqueNewArticles, ...this._articles];
134134

135135
// Show notification for new articles
136-
if (!force)
137-
uniqueNewArticles.forEach(a => { this._notifications.showArticleNotification(a) });
136+
if (!force) {
137+
uniqueNewArticles.forEach(a => {
138+
this._notifications.showArticleNotification(a);
139+
});
140+
}
138141
}
139142
if (force || newArticles.length > 0 || deletedUrls.length > 0) {
140143
this._updateArticleCount();
@@ -173,8 +176,8 @@ class WallapocketIndicator extends PanelMenu.Button {
173176
const showDeleteButton = this._settings.get_boolean('show-delete-button');
174177
const showEditTitleButton = this._settings.get_boolean('show-edit-title-button');
175178
this._articles.slice(0, this._maxArticles).forEach(a => {
176-
this._recentSection.addMenuItem(new ArticleMenuItem(a, this._api, this._notifications, () => this._refreshArticles(true), showArchiveButton, showStarButton, showCopyButton, showDeleteButton, showEditTitleButton))
177-
}
179+
this._recentSection.addMenuItem(new ArticleMenuItem(a, this._api, this._notifications, () => this._refreshArticles(true), showArchiveButton, showStarButton, showCopyButton, showDeleteButton, showEditTitleButton));
180+
}
178181
);
179182
}
180183

0 commit comments

Comments
 (0)