mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
ColorSchemeService: fixed 2 syntax errors coming from PR #880
This commit is contained in:
@@ -26,8 +26,8 @@ Singleton {
|
||||
}
|
||||
// Toast: dark/light mode switched
|
||||
const enabled = !!Settings.data.colorSchemes.darkMode;
|
||||
const label = enabled ? I18n.tr("toast.dark-mode.dark-mode") : 18n.tr("toast.dark-mode.light-mode");
|
||||
const description = 18n.tr("toast.dark-mode.enabled");
|
||||
const label = enabled ? I18n.tr("toast.dark-mode.dark-mode") : I18n.tr("toast.dark-mode.light-mode");
|
||||
const description = I18n.tr("toast.dark-mode.enabled");
|
||||
ToastService.showNotice(label, description, "dark-mode");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user