slight improvment on android back flicker

This commit is contained in:
Roland Osborne 2025-01-16 13:34:19 -08:00
parent f5e48230ce
commit 9ae2c6b298
5 changed files with 6 additions and 6 deletions

View File

@ -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 (
<Wrap elevation={1}>
<Channel

View File

@ -4,7 +4,7 @@ export const styles = StyleSheet.create({
identity: {
display: 'flex',
flexDirection: 'row',
alignItems: 'flex-begin',
alignItems: 'flex-start',
},
identityData: {
flexGrow: 1,

View File

@ -48,7 +48,7 @@ export const styles = StyleSheet.create({
content: {
display: 'flex',
flexDirection: 'row',
alignItems: 'flexStart',
alignItems: 'flex-start',
width: '100%',
paddingLeft: 8,
paddingRight: 8,
@ -69,7 +69,7 @@ export const styles = StyleSheet.create({
header: {
display: 'flex',
flexDirection: 'row',
alignItems: 'flexStart',
alignItems: 'flex-start',
width: '100%',
lineHeight: 16,
gap: 16,

View File

@ -106,7 +106,7 @@ export const styles = StyleSheet.create({
flexShrink: 0,
width: 32,
display: 'flex',
justifyContent: 'flex-begin',
justifyContent: 'flex-start',
height: '100%',
backgroundColor: 'transparent',
},

View File

@ -216,7 +216,7 @@ export const styles = StyleSheet.create({
flexShrink: 0,
width: 32,
display: 'flex',
justifyContent: 'flex-begin',
justifyContent: 'flex-start',
height: '100%',
backgroundColor: 'transparent',
},