From 1d13a935abdf17353846e38fae70557f7f56068b Mon Sep 17 00:00:00 2001 From: Marcel Hellkamp Date: Thu, 6 Jun 2024 14:21:53 +0200 Subject: [PATCH] Typos --- README.md | 2 +- src/App.vue | 4 ++-- src/components/ConfigModal.vue | 6 +++--- src/config.ts | 8 ++++---- src/sources.ts | 4 ++-- src/utils.ts | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 1688743..6e3ba87 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ This project was inspired by [Mastowall](https://github.com/rstockm/mastowall), ## License - Copyright (C) 2023 Marcel Hellkamp + Copyright (C) 2024 Marcel Hellkamp Copyright (C) 2023 Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen This program is free software: you can redistribute it and/or modify diff --git a/src/App.vue b/src/App.vue index f0c787b..21fad69 100644 --- a/src/App.vue +++ b/src/App.vue @@ -65,11 +65,11 @@ onUpdated(fixLayout) watch([useWindowSize().width, config, allPosts], fixLayout, { deep: true }) // Watch for a theme changes -const isDarkPrefered = usePreferredDark() +const isDarkPreferred = usePreferredDark() const actualTheme = computed(() => { var theme = config.value?.theme if (!theme || theme === "auto") - theme = isDarkPrefered.value ? "dark" : "light" + theme = isDarkPreferred.value ? "dark" : "light" return theme }) watch(actualTheme, () => { diff --git a/src/components/ConfigModal.vue b/src/components/ConfigModal.vue index 6eef30d..d7578e9 100644 --- a/src/components/ConfigModal.vue +++ b/src/components/ConfigModal.vue @@ -1,5 +1,5 @@