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

fix notif modal not re-opening

This commit is contained in:
bbedward
2025-08-14 09:37:46 -04:00
parent c9be03ddaf
commit 4ec36df98d

View File

@@ -14,9 +14,13 @@ DankModal {
width: 500
height: 700
visible: notificationModalOpen
visible: false
keyboardFocus: "ondemand"
onBackgroundClicked: hide()
onDialogClosed: {
notificationModalOpen = false
modalKeyboardController.reset()
}
NotificationKeyboardController {
id: modalKeyboardController
@@ -32,6 +36,7 @@ DankModal {
function show() {
notificationModalOpen = true
visible = true
modalKeyboardController.reset()
if (modalKeyboardController && notificationListRef) {
@@ -42,6 +47,7 @@ DankModal {
function hide() {
notificationModalOpen = false
visible = false
modalKeyboardController.reset()
}