From 25cfc809255eb081ede351297d5a5fa2aef2e91e Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Thu, 30 Oct 2025 11:01:42 +0100 Subject: [PATCH] Fix wrong symbols --- MusicPlayerV2-GUI/src/App.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/MusicPlayerV2-GUI/src/App.vue b/MusicPlayerV2-GUI/src/App.vue index 285688d..9085815 100644 --- a/MusicPlayerV2-GUI/src/App.vue +++ b/MusicPlayerV2-GUI/src/App.vue @@ -20,30 +20,30 @@ ref } from 'vue'; - const theme = ref( 'ćC;' ); + const theme = ref( '☼' ); const changeTheme = () => { - if ( theme.value === 'ćD;' ) { + if ( theme.value === '☽' ) { document.documentElement.classList.remove( 'dark' ); document.documentElement.classList.add( 'light' ); - localStorage.setItem( 'theme', 'ćC' ); - theme.value = 'ćC'; - } else if ( theme.value === 'ćC' ) { + localStorage.setItem( 'theme', '☼' ); + theme.value = '☼'; + } else if ( theme.value === '☼' ) { document.documentElement.classList.remove( 'light' ); document.documentElement.classList.add( 'dark' ); - localStorage.setItem( 'theme', 'ćD' ); - theme.value = 'ćD'; + localStorage.setItem( 'theme', '☽' ); + theme.value = '☽'; } }; theme.value = localStorage.getItem( 'theme' ) ?? ''; - if ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches || theme.value === 'ćD' ) { + if ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches || theme.value === '☽' ) { document.documentElement.classList.add( 'dark' ); - theme.value = 'ćD'; + theme.value = '☽'; } else { document.documentElement.classList.add( 'light' ); - theme.value = 'ćC'; + theme.value = '☼'; }