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:
Lukáš Tinkl 2023-04-17 11:09:15 +02:00 committed by Lukáš Tinkl
parent 99b4f1d864
commit 4424342dd6
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ Popup {
}
onClosed: {
Global.popupOpened = false
activityCenterStore.markAsSeenActivityCenterNotifications()
Qt.callLater(activityCenterStore.markAsSeenActivityCenterNotifications)
}
width: 560