mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 01:55:17 +00:00
slight improvment on android back flicker
This commit is contained in:
parent
f5e48230ce
commit
9ae2c6b298
@ -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
|
||||
|
@ -4,7 +4,7 @@ export const styles = StyleSheet.create({
|
||||
identity: {
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
alignItems: 'flex-begin',
|
||||
alignItems: 'flex-start',
|
||||
},
|
||||
identityData: {
|
||||
flexGrow: 1,
|
||||
|
@ -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,
|
||||
|
@ -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',
|
||||
},
|
||||
|
@ -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',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user