diff --git a/components/nav/button/Bookmark.vue b/components/nav/button/Bookmark.vue index eee0c7b60e..d0ee94abf3 100644 --- a/components/nav/button/Bookmark.vue +++ b/components/nav/button/Bookmark.vue @@ -1,11 +1,24 @@ diff --git a/components/nav/button/Compose.vue b/components/nav/button/Compose.vue index 63831c8019..3d9720a882 100644 --- a/components/nav/button/Compose.vue +++ b/components/nav/button/Compose.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/Explore.vue b/components/nav/button/Explore.vue index 618daafdc9..de67187a56 100644 --- a/components/nav/button/Explore.vue +++ b/components/nav/button/Explore.vue @@ -6,10 +6,22 @@ defineProps<{ }>() const lastAccessedExploreRoute = useLocalStorage(STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE, '') + +const userSettings = useUserSettings() +const hideLabel = computed(() => getPreferences(userSettings.value, 'hideBottomNavLabel')) diff --git a/components/nav/button/Favorite.vue b/components/nav/button/Favorite.vue index fee4ebcbdc..f8002b23c5 100644 --- a/components/nav/button/Favorite.vue +++ b/components/nav/button/Favorite.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/Federated.vue b/components/nav/button/Federated.vue index 878a7370d2..48ae955abe 100644 --- a/components/nav/button/Federated.vue +++ b/components/nav/button/Federated.vue @@ -1,11 +1,24 @@ diff --git a/components/nav/button/Hashtag.vue b/components/nav/button/Hashtag.vue index af48d09f46..44bcf97509 100644 --- a/components/nav/button/Hashtag.vue +++ b/components/nav/button/Hashtag.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/Home.vue b/components/nav/button/Home.vue index 0808448155..5c18846653 100644 --- a/components/nav/button/Home.vue +++ b/components/nav/button/Home.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/List.vue b/components/nav/button/List.vue index 13a961dc03..0f5b00a9df 100644 --- a/components/nav/button/List.vue +++ b/components/nav/button/List.vue @@ -1,7 +1,11 @@ diff --git a/components/nav/button/Local.vue b/components/nav/button/Local.vue index 6d1d0a646a..faa97f6384 100644 --- a/components/nav/button/Local.vue +++ b/components/nav/button/Local.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/Mention.vue b/components/nav/button/Mention.vue index ef530c8020..3e0faf8709 100644 --- a/components/nav/button/Mention.vue +++ b/components/nav/button/Mention.vue @@ -2,14 +2,23 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/nav/button/MoreMenu.vue b/components/nav/button/MoreMenu.vue index 4c31db3d6c..1a12db2cb0 100644 --- a/components/nav/button/MoreMenu.vue +++ b/components/nav/button/MoreMenu.vue @@ -1,5 +1,7 @@ diff --git a/components/nav/button/Notification.vue b/components/nav/button/Notification.vue index 3e4aa5e70a..5f3dcc9a23 100644 --- a/components/nav/button/Notification.vue +++ b/components/nav/button/Notification.vue @@ -1,4 +1,5 @@ diff --git a/components/nav/button/Search.vue b/components/nav/button/Search.vue index 94b2b79fd4..b0bff8adec 100644 --- a/components/nav/button/Search.vue +++ b/components/nav/button/Search.vue @@ -2,10 +2,21 @@ defineProps<{ activeClass: string }>() + +const hideLabel = useHideBottomNavigationLabel() diff --git a/components/settings/SettingsBottomNav.vue b/components/settings/SettingsBottomNav.vue index 27ef55e33a..8750845b6b 100644 --- a/components/settings/SettingsBottomNav.vue +++ b/components/settings/SettingsBottomNav.vue @@ -69,6 +69,8 @@ function reset() { function save() { navButtonNamesSetting.value = selectedNavButtonNames.value } + +const hideLabel = useHideBottomNavigationLabel()