[Android] Fix remote access top bar state for audio routes
Nicolas Pomepuy
git at videolan.org
Mon Mar 18 14:37:34 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Mar 15 07:57:59 2024 +0100| [ae59ed65a891f6123e53eaeeaa15daf3a752082f] | committer: Duncan McNamara
Fix remote access top bar state for audio routes
> https://code.videolan.org/videolan/vlc-android/commit/ae59ed65a891f6123e53eaeeaa15daf3a752082f
---
buildsystem/network-sharing-server/src/components/AppHeader.vue | 2 +-
buildsystem/network-sharing-server/src/routes.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/buildsystem/network-sharing-server/src/components/AppHeader.vue b/buildsystem/network-sharing-server/src/components/AppHeader.vue
index cb50c24aad..c05b6fefa6 100644
--- a/buildsystem/network-sharing-server/src/components/AppHeader.vue
+++ b/buildsystem/network-sharing-server/src/components/AppHeader.vue
@@ -266,7 +266,7 @@ export default {
switch (this.$route.matched[0].name) {
case 'Video':
return this.$t('VIDEO')
- case 'Audio':
+ case 'AudioArtists':
return this.$t('AUDIO')
case 'Browse':
return this.$t('BROWSE')
diff --git a/buildsystem/network-sharing-server/src/routes.js b/buildsystem/network-sharing-server/src/routes.js
index 83ed3c197b..bfbcaf724b 100644
--- a/buildsystem/network-sharing-server/src/routes.js
+++ b/buildsystem/network-sharing-server/src/routes.js
@@ -25,7 +25,7 @@ const routes = [
]
},
{
- path: '/audio', redirect: '/audio/artists', name: 'Audio',
+ path: '/audio', redirect: '/audio/artists', name: 'AudioArtists',
children: [
{ path: 'artists', component: AudioArtists, name: 'AudioArtists', meta: { showDisplayBar: true, isAudio: true, showResume: true, showGrouping: false } },
{ path: 'albums', component: AudioAlbums, name: 'AudioAlbums', meta: { showDisplayBar: true, isAudio: true, showResume: true, showGrouping: false } },
More information about the Android
mailing list