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:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user