2023-01-10 14:45:17 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
const { t } = useI18n()
|
|
|
|
|
|
|
|
useHeadFixed({
|
|
|
|
title: () => `${t('settings.wellness.label')} | ${t('nav.settings')}`,
|
|
|
|
})
|
2023-01-12 17:52:52 +00:00
|
|
|
|
|
|
|
const userSettings = useUserSettings()
|
2023-01-10 14:45:17 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<MainContent back-on-small-screen>
|
|
|
|
<template #title>
|
|
|
|
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
|
|
|
<span>{{ $t('settings.wellness.label') }}</span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<SettingsToggleItem
|
2023-01-12 17:52:52 +00:00
|
|
|
:checked="getWellnessSetting(userSettings, 'hideBoostCount')"
|
2023-01-10 14:45:17 +00:00
|
|
|
@click="toggleWellnessSetting('hideBoostCount')"
|
|
|
|
>
|
|
|
|
{{ $t('settings.wellness.feature.hide_boost_count') }}
|
|
|
|
</SettingsToggleItem>
|
|
|
|
<SettingsToggleItem
|
2023-01-12 17:52:52 +00:00
|
|
|
:checked="getWellnessSetting(userSettings, 'hideFavoriteCount')"
|
2023-01-10 14:45:17 +00:00
|
|
|
@click="toggleWellnessSetting('hideFavoriteCount')"
|
|
|
|
>
|
|
|
|
{{ $t('settings.wellness.feature.hide_favorite_count') }}
|
|
|
|
</SettingsToggleItem>
|
|
|
|
<SettingsToggleItem
|
2023-01-12 17:52:52 +00:00
|
|
|
:checked="getWellnessSetting(userSettings, 'hideFollowerCount')"
|
2023-01-10 14:45:17 +00:00
|
|
|
@click="toggleWellnessSetting('hideFollowerCount')"
|
|
|
|
>
|
|
|
|
{{ $t('settings.wellness.feature.hide_follower_count') }}
|
|
|
|
</SettingsToggleItem>
|
|
|
|
</MainContent>
|
|
|
|
</template>
|