From 9ae2c6b2987ff933286fe836e926e9f4722f47fb Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Thu, 16 Jan 2025 13:34:19 -0800 Subject: [PATCH] slight improvment on android back flicker --- app/client/mobile/src/content/Content.tsx | 2 +- app/client/mobile/src/identity/Identity.styled.ts | 2 +- app/client/mobile/src/message/Message.styled.ts | 4 ++-- app/client/mobile/src/profile/Profile.styled.ts | 2 +- app/client/mobile/src/settings/Settings.styled.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/client/mobile/src/content/Content.tsx b/app/client/mobile/src/content/Content.tsx index f8792f24..54874a56 100644 --- a/app/client/mobile/src/content/Content.tsx +++ b/app/client/mobile/src/content/Content.tsx @@ -108,7 +108,7 @@ export function Content({openConversation, textCard}: {openConversation: ()=>voi actions.setFocus(item.cardId, item.channelId); openConversation(); }; - const Wrap = focused ? Surface : View; + const Wrap = (state.layout === 'large' && focused) ? Surface : View; return (