diff --git a/src/renderer/screens/MainScreen.vue b/src/renderer/screens/MainScreen.vue index 70f9999..b27ad5e 100644 --- a/src/renderer/screens/MainScreen.vue +++ b/src/renderer/screens/MainScreen.vue @@ -6,11 +6,11 @@ import Utils from '@/renderer/utils' const { locale } = useI18n() const theme = useTheme() -const handleChangeTheme = () => { +const handleChangeTheme = () : void => { theme.global.name.value = theme.global.current.value.dark ? 'light' : 'dark' } -const handleChangeLanguage = () => { +const handleChangeLanguage = () : void => { if (locale.value === 'en') { locale.value = 'ko' } else { @@ -18,7 +18,7 @@ const handleChangeLanguage = () => { } } -const handleAbout = async () => { +const handleAbout = async () : Promise => { await Utils.openExternal('https://github.com/jooy2/vutron') }