From e7b87c026925f62e55f574d9aec42f04e8a2828a Mon Sep 17 00:00:00 2001 From: tess Date: Sun, 9 Jun 2024 16:21:12 +0200 Subject: [PATCH] Pass renderMfm as true to wrap welcome back toast in Mfm --- packages/frontend/src/boot/main-boot.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());