mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 01:59:47 +00:00
Fixed for PR #631
This commit is contained in:
@@ -80,7 +80,6 @@ Rectangle {
|
||||
|
||||
// Icon
|
||||
NIcon {
|
||||
id: icon
|
||||
icon: if (root.icon !== "") {
|
||||
return root.icon
|
||||
} else if (type === "warning") {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user