From 1f4b0ce8f4b90bd7b42bb419e1725a568e846c81 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Fri, 31 Oct 2025 19:06:16 -0400 Subject: [PATCH] Fixed for PR #631 --- Modules/Toast/SimpleToast.qml | 1 - Services/NightLightService.qml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/Toast/SimpleToast.qml b/Modules/Toast/SimpleToast.qml index 2de83ccc..0845b11d 100644 --- a/Modules/Toast/SimpleToast.qml +++ b/Modules/Toast/SimpleToast.qml @@ -80,7 +80,6 @@ Rectangle { // Icon NIcon { - id: icon icon: if (root.icon !== "") { return root.icon } else if (type === "warning") { diff --git a/Services/NightLightService.qml b/Services/NightLightService.qml index 234cfb02..864ae87a 100644 --- a/Services/NightLightService.qml +++ b/Services/NightLightService.qml @@ -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() {