mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Extract hasNotifications
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
if (!isEnabled) {
|
||||
return;
|
||||
}
|
||||
if (this.length === 0) {
|
||||
|
||||
const hasNotifications = this.length > 0
|
||||
if (!hasNotifications) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user