diff --git a/public/manifest.json b/public/manifest.json index 919379fe..2561ad91 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -2,6 +2,7 @@ "name": "MoviePilot", "short_name": "MoviePilot", "start_url": "./", + "display": "minimal-ui", "icons": [ { "src": "./android-chrome-192x192.png", @@ -30,7 +31,6 @@ ], "theme_color": "#28243D", "background_color": "#28243D", - "display": "standalone", "shortcuts": [ { "name": "推荐", @@ -77,4 +77,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/src/components/misc/DashboardElement.vue b/src/components/misc/DashboardElement.vue index 37742aca..b9e23b59 100644 --- a/src/components/misc/DashboardElement.vue +++ b/src/components/misc/DashboardElement.vue @@ -48,7 +48,7 @@ onUnmounted(() => { mdi-drag - {{ props.config?.name }} + {{ props.config?.attrs?.title ?? props.config?.name }} {{ props.config?.attrs?.subtitle }} diff --git a/src/pages/dashboard.vue b/src/pages/dashboard.vue index 22f08508..8fc65b1b 100644 --- a/src/pages/dashboard.vue +++ b/src/pages/dashboard.vue @@ -264,7 +264,7 @@ onBeforeMount(async () => { - +