fix: update notification close behavior
This commit is contained in:
@@ -15,7 +15,7 @@ Rectangle {
|
||||
|
||||
property bool closing: false
|
||||
|
||||
property real duration: ( notification.hasInlineReply ? 5000000000 : 1)
|
||||
property real duration: ( notification.hasInlineReply ? 5000000000 : 1000)
|
||||
// notification.expireTimeout > 0 ? notification.expireTimeout :
|
||||
// urgency ? urgency * 2000 :
|
||||
// 5000
|
||||
@@ -222,10 +222,8 @@ Rectangle {
|
||||
visible: notification.hasInlineReply
|
||||
|
||||
function sendReply(message) {
|
||||
console.log("BEFORE sendInlineReply", notification.id, notification.resident)
|
||||
notification.sendInlineReply(message)
|
||||
inlineReplyTextField.focus = false
|
||||
console.log("AFTER sendInlineReply", notification.id)
|
||||
|
||||
if (!notification.resident) {
|
||||
root.closeNotification(true)
|
||||
|
||||
Reference in New Issue
Block a user