mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
03d7632f32
- signal for adding notification to the Activity Center introduced and emitted, but that part is not handled within this commit since there are some details needed to be discussed in the PR#5334 - signal for displaying ephemeral app notification is introduced and emitted, but that part is not handled within this commit since we don't have yet ephemeral notificaiton in place. Fixes #4902
19 lines
531 B
QML
19 lines
531 B
QML
import QtQuick 2.13
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var notificationsModule
|
|
|
|
property var exemptionsModel: notificationsModule.exemptionsModel
|
|
|
|
function sendTestNotification(title, message) {
|
|
root.notificationsModule.sendTestNotification(title, message)
|
|
}
|
|
|
|
function saveExemptions(itemId, muteAllMessages, personalMentions, globalMentions, allMessages) {
|
|
root.notificationsModule.saveExemptions(itemId, muteAllMessages, personalMentions, globalMentions, allMessages)
|
|
}
|
|
}
|