Merge pull request #224 from ThatOneCalculator/refactor/notification-default-action-text

make default notification action text "Open"
This commit is contained in:
Lysec 2025-09-05 23:50:06 +02:00 committed by GitHub
commit 25e1c6e759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -275,7 +275,7 @@ Variants {
delegate: NButton {
text: {
var actionText = modelData.text || "Action"
var actionText = modelData.text || "Open"
// If text contains comma, take the part after the comma (the display text)
if (actionText.includes(",")) {
return actionText.split(",")[1] || actionText