1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

fix notif modal close

This commit is contained in:
bbedward
2025-08-26 23:37:01 -04:00
parent 346e00d395
commit f8b10204f8
2 changed files with 6 additions and 9 deletions

View File

@@ -16,9 +16,12 @@ DankModal {
height: 700
visible: false
onBackgroundClicked: hide()
onDialogClosed: {
notificationModalOpen = false
modalKeyboardController.reset()
onShouldBeVisibleChanged: (shouldBeVisible) => {
if (!shouldBeVisible) {
notificationModalOpen = false
modalKeyboardController.reset()
NotificationService.onOverlayClose()
}
}
modalFocusScope.Keys.onPressed: function (event) {