Merge pull request #258 from matejc/feat/notifications-close-on-clear

feat(Modules/Notification): auto-close history panel on clear history
This commit is contained in:
Lemmy 2025-09-12 10:52:11 -04:00 committed by GitHub
commit 3f6662182e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,10 @@ NPanel {
icon: "trash"
tooltipText: "Clear history"
sizeRatio: 0.8
onClicked: NotificationService.clearHistory()
onClicked: {
NotificationService.clearHistory()
root.close()
}
}
NIconButton {