chore: do not block main thread closing the popup
the marking as read can be done in a different thread
This commit is contained in:
parent
99b4f1d864
commit
4424342dd6
|
@ -26,7 +26,7 @@ Popup {
|
||||||
}
|
}
|
||||||
onClosed: {
|
onClosed: {
|
||||||
Global.popupOpened = false
|
Global.popupOpened = false
|
||||||
activityCenterStore.markAsSeenActivityCenterNotifications()
|
Qt.callLater(activityCenterStore.markAsSeenActivityCenterNotifications)
|
||||||
}
|
}
|
||||||
|
|
||||||
width: 560
|
width: 560
|
||||||
|
|
Loading…
Reference in New Issue