mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
Revert "Show notifications, always set notifications applet as expaned"
This reverts commit 96db9776a9.
that makes half of quicksettings options disappear... wat? it is
confusing.
This commit is contained in:
parent
96db9776a9
commit
96a9ff8418
1 changed files with 8 additions and 2 deletions
|
|
@ -57,11 +57,17 @@ PlasmaCore.ColorScope {
|
|||
applet.visible = true;
|
||||
container.visible = true;
|
||||
if (applet.pluginName == "org.kde.phone.notifications") {
|
||||
applet.expanded = true
|
||||
applet.fullRepresentationItem.parent = notificationsParent;
|
||||
notificationsParent.applet = applet;
|
||||
applet.fullRepresentationItem.anchors.fill = notificationsParent;
|
||||
}
|
||||
} else if (applet.pluginName != "org.kde.phone.quicksettings") {
|
||||
applet.expanded = true
|
||||
applet.expanded = false
|
||||
quickSettings.addPlasmoid(applet, fullRepsLayout.count);
|
||||
applet.fullRepresentationItem.parent = fullRepsLayout;
|
||||
fullRepsLayout.currentIndex = 0
|
||||
applet.fullRepresentationItem.anchors.fill = fullRepsLayout;
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue