diff --git a/Jenkinsfile b/Jenkinsfile index d3a7d9a3d..51aaaabf2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,2 +1,6 @@ @Library('ubports-build-tools') _ -buildAndProvideDebianPackage() +buildAndProvideDebianPackage( + /* isArchIndependent */ false, + /* ignoredArchs */ [], + /* isHeavyPackage */ true +) diff --git a/qml/Notifications/Notification.qml b/qml/Notifications/Notification.qml index 053799097..52a5907a3 100644 --- a/qml/Notifications/Notification.qml +++ b/qml/Notifications/Notification.qml @@ -321,7 +321,15 @@ StyledItem { font.weight: Font.Light color: theme.palette.normal.backgroundTertiaryText wrapMode: Text.Wrap - maximumLineCount: type === Notification.SnapDecision ? 12 : 2 + maximumLineCount: { + if (type === Notification.SnapDecision) { + return 12; + } else if (notification.hints["x-canonical-truncation"] === false) { + return 20; + } else { + return 2; + } + } elide: Text.ElideRight textFormat: Text.PlainText lineHeight: 1.1