New update to current version
This commit is contained in:
@@ -14,7 +14,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
acceptedButtons: Qt.LeftButton
|
||||
onPressed: (event) => {
|
||||
GlobalStates.notificationPanelOpen = !GlobalStates.notificationPanelOpen;
|
||||
GlobalStates.notificationPanelOpen = !GlobalStates.notificationPanelOpen && NotificationService.amountNotifications > 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,4 +43,4 @@ Item {
|
||||
color: NotificationService.amountNotifications > 0 ? Appearance.m3colors.m3error : Appearance.m3colors.m3onSecondaryContainer
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user