1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -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 width: 500
height: 700 height: 700
visible: notificationModalOpen visible: false
keyboardFocus: "ondemand" keyboardFocus: "ondemand"
onBackgroundClicked: hide() onBackgroundClicked: hide()
onDialogClosed: {
notificationModalOpen = false
modalKeyboardController.reset()
}
NotificationKeyboardController { NotificationKeyboardController {
id: modalKeyboardController id: modalKeyboardController
@@ -32,6 +36,7 @@ DankModal {
function show() { function show() {
notificationModalOpen = true notificationModalOpen = true
visible = true
modalKeyboardController.reset() modalKeyboardController.reset()
if (modalKeyboardController && notificationListRef) { if (modalKeyboardController && notificationListRef) {
@@ -42,6 +47,7 @@ DankModal {
function hide() { function hide() {
notificationModalOpen = false notificationModalOpen = false
visible = false
modalKeyboardController.reset() modalKeyboardController.reset()
} }