From 5d1409b735feab00297ae56fb3fbb2e35e98c83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Sat, 31 Oct 2020 22:37:28 +0100 Subject: [PATCH] =?UTF-8?q?[Settings]=20Neue=20Icons=20f=C3=BCr=20plattfor?= =?UTF-8?q?m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/boot/loading.ts | 5 ++++- src/plugins/user/components/settings/Sessions.vue | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/boot/loading.ts b/src/boot/loading.ts index bf1cd4d..c56b27c 100644 --- a/src/boot/loading.ts +++ b/src/boot/loading.ts @@ -1,10 +1,13 @@ import { boot } from 'quasar/wrappers'; import { Loading } from 'quasar'; +import DarkCircularProgress from 'components/loading/DarkCircularProgress.vue'; // "async" is optional; // more info on params: https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file export default boot((/* { app, router, Vue ... } */) => { Loading.setDefaults({ - spinner: () => import('src/components/loading/DarkCircularProgress.vue') + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + spinner: DarkCircularProgress }); }); diff --git a/src/plugins/user/components/settings/Sessions.vue b/src/plugins/user/components/settings/Sessions.vue index 707847e..06ebdef 100644 --- a/src/plugins/user/components/settings/Sessions.vue +++ b/src/plugins/user/components/settings/Sessions.vue @@ -68,6 +68,10 @@ export default defineComponent({ ? 'mdi-microsoft-windows' : platform == 'macos' ? 'mdi-apple' + : platform == 'iphone' + ? 'mdi-cellphone-iphone' + : platform == 'android' + ? 'mdi-cellphone-android' : 'mdi-help'; }