Add option for enable/disable apply AC/Bat policy on change

This commit is contained in:
Luke D. Jones
2024-05-12 11:55:34 +12:00
parent 92ca7bc70d
commit 6c7e1a6467
9 changed files with 150 additions and 81 deletions

View File

@@ -5,7 +5,8 @@ export component RogItem inherits Rectangle {
border-color: Palette.border;
border-width: 3px;
border-radius: 10px;
min-height: 46px;
min-height: 48px;
max-height: 56px;
}
export component SystemSlider inherits RogItem {
@@ -54,6 +55,7 @@ export component SystemToggle inherits RogItem {
in-out property <bool> checked;
callback toggled(bool);
HorizontalLayout {
spacing: 6px;
HorizontalLayout {
alignment: LayoutAlignment.start;
padding-left: 10px;
@@ -195,7 +197,7 @@ export component PopupNotification {
}
}
public function show() {
public function show(){
_p.show();
}
}