From 216a73686036f801d2919ac92b5a3672a61fca98 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Sat, 25 Feb 2023 21:57:11 +0100 Subject: [PATCH] Fix account page account issue --- src/screens/Tabs/Shared/Account/Information/Account.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/screens/Tabs/Shared/Account/Information/Account.tsx b/src/screens/Tabs/Shared/Account/Information/Account.tsx index a101008d..53a885dd 100644 --- a/src/screens/Tabs/Shared/Account/Information/Account.tsx +++ b/src/screens/Tabs/Shared/Account/Information/Account.tsx @@ -18,7 +18,9 @@ const AccountInformationAccount: React.FC = () => { const [acct] = useAccountStorage.string('auth.account.acct') const [domain] = useAccountStorage.string('auth.account.domain') - const localInstance = account?.acct?.includes('@') ? account?.acct?.includes(`@${domain}`) : true + const localInstance = account?.acct?.includes('@') + ? account?.acct?.includes(`@${domain}`) + : !account?._remote if (account || pageMe) { return (