chore: cleanup imports

This commit is contained in:
userquin 2025-01-01 18:36:16 +01:00
parent e400984c78
commit 56b1b00eee

View file

@ -2,8 +2,6 @@
import type { NavButtonName } from '~/composables/settings' import type { NavButtonName } from '~/composables/settings'
import { STORAGE_KEY_BOTTOM_NAV_BUTTONS } from '~/constants' import { STORAGE_KEY_BOTTOM_NAV_BUTTONS } from '~/constants'
const userSettings = useUserSettings()
interface NavButton { interface NavButton {
name: NavButtonName name: NavButtonName
label: string label: string
@ -81,7 +79,7 @@ const hideLabel = useHideBottomNavigationLabel()
{{ $t('settings.interface.bottom_nav') }} {{ $t('settings.interface.bottom_nav') }}
</h2> </h2>
<SettingsToggleItem <SettingsToggleItem
:checked="getPreferences(userSettings, 'hideBottomNavLabel')" :checked="hideLabel"
@click="togglePreferences('hideBottomNavLabel')" @click="togglePreferences('hideBottomNavLabel')"
> >
{{ $t('settings.interface.bottom_nav_hide_label') }} {{ $t('settings.interface.bottom_nav_hide_label') }}