mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +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 {
|
||||
Layout.fillWidth: true
|
||||
visible: history.count > 1
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
spacing: 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue