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:
Bhushan Shah 2018-11-12 19:09:16 +05:30
parent 96db9776a9
commit 96a9ff8418

View file

@ -57,10 +57,16 @@ PlasmaCore.ColorScope {
applet.visible = true; applet.visible = true;
container.visible = true; container.visible = true;
if (applet.pluginName == "org.kde.phone.notifications") { if (applet.pluginName == "org.kde.phone.notifications") {
applet.expanded = true
applet.fullRepresentationItem.parent = notificationsParent; applet.fullRepresentationItem.parent = notificationsParent;
notificationsParent.applet = applet; notificationsParent.applet = applet;
applet.fullRepresentationItem.anchors.fill = notificationsParent; 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;
} }
} }