mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-01 17:24:48 +00:00
power: Don't show the battery usage card if there is no data
Hide the entire card when there is no data, not just the graph
This commit is contained in:
parent
e2822b7c02
commit
233ccba671
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
MobileForm.FormCard {
|
MobileForm.FormCard {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
visible: history.count > 1
|
||||||
|
|
||||||
contentItem: ColumnLayout {
|
contentItem: ColumnLayout {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue