Fixed for PR #631

This commit is contained in:
ItsLemmy
2025-10-31 19:06:16 -04:00
parent 0f5ff04348
commit 1f4b0ce8f4
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -80,7 +80,6 @@ Rectangle {
// Icon
NIcon {
id: icon
icon: if (root.icon !== "") {
return root.icon
} else if (type === "warning") {
+1 -1
View File
@@ -68,7 +68,7 @@ Singleton {
function onForcedChanged() {
apply()
if (Settings.data.nightLight.enabled) {
ToastService.showNotice(I18n.tr("settings.display.night-light.section.label"), Settings.data.nightLight.forced ? I18n.tr("toast.night-light.forced") : I18n.tr("toast.night-light.normal"), forced ? "nightlight-forced" : "nightlight-on")
ToastService.showNotice(I18n.tr("settings.display.night-light.section.label"), Settings.data.nightLight.forced ? I18n.tr("toast.night-light.forced") : I18n.tr("toast.night-light.normal"), Settings.data.nightLight.forced ? "nightlight-forced" : "nightlight-on")
}
}
function onNightTempChanged() {