Commit 36f296e4 authored by Nate Graham's avatar Nate Graham 🔩

[applets/notifications] Use new API for clear button visibility

parent 5cd1e6a7
......@@ -173,7 +173,8 @@ PlasmaComponents3.Page {
}
PlasmaComponents3.ToolButton {
visible: plasmoid.containmentType !== PlasmaCore.Types.CustomEmbeddedContainment
visible: !(plasmoid.containmentDisplayHints & PlasmaCore.Types.ContainmentDrawsPlasmoidHeading)
icon.name: "edit-clear-history"
enabled: plasmoid.action("clearHistory").visible
......
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