diff --git a/packages/frontend/src/boot/main-boot.ts b/packages/frontend/src/boot/main-boot.ts index 34612fee73..a1c74421de 100644 --- a/packages/frontend/src/boot/main-boot.ts +++ b/packages/frontend/src/boot/main-boot.ts @@ -94,7 +94,7 @@ export async function mainBoot() { }).render(); } } - } + } } catch (error) { // console.error(error); console.error('Failed to initialise the seasonal screen effect canvas context:', error); @@ -224,7 +224,7 @@ export async function mainBoot() { if (Date.now() - lastUsedDate > 1000 * 60 * 60 * 2) { toast(i18n.tsx.welcomeBackWithName({ name: $i.name || $i.username, - })); + }), true); } } miLocalStorage.setItem('lastUsed', Date.now().toString()); diff --git a/packages/frontend/src/components/MkToast.vue b/packages/frontend/src/components/MkToast.vue index a117e49350..f731b3264f 100644 --- a/packages/frontend/src/components/MkToast.vue +++ b/packages/frontend/src/components/MkToast.vue @@ -14,7 +14,8 @@ SPDX-License-Identifier: AGPL-3.0-only >