Commit 7e4b0979 authored by Niccolò Venerandi's avatar Niccolò Venerandi

Add inHistory bool and hide heading on inHistory

Summary: This hides the plasmoidHeading on history for not grouped notifications

Test Plan:
After:
{F8288756}

Reviewers: broulik, ngraham

Reviewed By: broulik, ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Maniphest Tasks: T10470

Differential Revision: https://phabricator.kde.org/D29474
parent 54f59eb2
......@@ -469,6 +469,7 @@ PlasmaComponents3.Page {
notificationType: model.type
inGroup: model.isInGroup
inHistory: true
applicationName: model.applicationName
applicationIconSource: model.applicationIconName
......
......@@ -40,6 +40,7 @@ ColumnLayout {
property int notificationType
property bool inGroup: false
property bool inHistory: false
property alias applicationIconSource: notificationHeading.applicationIconSource
property alias applicationName: notificationHeading.applicationName
......@@ -126,7 +127,7 @@ ColumnLayout {
leftMargin: -margins.left
rightMargin: -margins.right
}
visible: !notificationItem.inGroup && fromCurrentTheme
visible: !notificationItem.inHistory && fromCurrentTheme
}
NotificationHeader {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment