battery-service: use showError and showWarning instead of showNotice

This commit is contained in:
Lemmy
2026-02-05 21:13:57 -05:00
parent 460ea69d49
commit 953f757f1b
+5 -1
View File
@@ -326,7 +326,11 @@ Singleton {
title = title + " " + name;
}
ToastService.showNotice(title, desc, icon);
if (level == "critical") {
ToastService.showError(title, desc, icon);
} else {
ToastService.showWarning(title, desc, icon);
}
}
Instantiator {