ColorSchemeService: fixed 2 syntax errors coming from PR #880

This commit is contained in:
ItsLemmy
2025-11-26 20:18:38 -05:00
parent 81c35aaee9
commit ba1e783c8f
+2 -2
View File
@@ -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");
}
}