mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 10:44:46 +00:00
Show notifications, always set notifications applet as expaned
++cleanup
This commit is contained in:
parent
c8cdb9616d
commit
96db9776a9
1 changed files with 2 additions and 8 deletions
|
|
@ -57,17 +57,11 @@ 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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue