Notification: display links as plain text

This commit is contained in:
Ly-sec
2025-09-17 12:40:52 +02:00
parent a872682eb8
commit 8811cb3d13
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -259,6 +259,7 @@ Variants {
font.pointSize: Style.fontSizeL * scaling
font.weight: Style.fontWeightMedium
color: Color.mOnSurface
textFormat: Text.PlainText
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.fillWidth: true
maximumLineCount: 3
@@ -269,6 +270,7 @@ Variants {
text: model.body || ""
font.pointSize: Style.fontSizeM * scaling
color: Color.mOnSurface
textFormat: Text.PlainText
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.fillWidth: true
maximumLineCount: 5
@@ -169,6 +169,7 @@ NPanel {
font.pointSize: Style.fontSizeM * scaling
font.weight: Font.Medium
color: Color.mPrimary
textFormat: Text.PlainText
wrapMode: Text.Wrap
Layout.fillWidth: true
maximumLineCount: 2
@@ -179,6 +180,7 @@ NPanel {
text: (body || "").substring(0, 150)
font.pointSize: Style.fontSizeXS * scaling
color: Color.mOnSurface
textFormat: Text.PlainText
wrapMode: Text.Wrap
Layout.fillWidth: true
maximumLineCount: 3