batterymon : fix toast text for charger unplugged (#887)
This commit is contained in:
parent
d81a7929c9
commit
83bf3386a6
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ Scope {
|
|||
function onOnBatteryChanged(): void {
|
||||
if (UPower.onBattery) {
|
||||
if (Config.utilities.toasts.chargingChanged)
|
||||
Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is now on AC"), "power_off");
|
||||
Toaster.toast(qsTr("Charger unplugged"), qsTr("Battery is discharging"), "power_off");
|
||||
} else {
|
||||
if (Config.utilities.toasts.chargingChanged)
|
||||
Toaster.toast(qsTr("Charger plugged in"), qsTr("Battery is charging"), "power");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue