mirror of
https://github.com/tooot-app/app
synced 2025-04-18 20:27:40 +02:00
Fix row flexbox
This commit is contained in:
parent
ca810065f8
commit
41d85bf738
@ -87,7 +87,7 @@ const MenuRow: React.FC<Props> = ({
|
|||||||
>
|
>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
flex: 3,
|
flexGrow: 3,
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
alignItems: 'center'
|
alignItems: 'center'
|
||||||
}}
|
}}
|
||||||
@ -111,15 +111,13 @@ const MenuRow: React.FC<Props> = ({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
<View style={{ flex: 1 }}>
|
<CustomText
|
||||||
<CustomText
|
fontStyle='M'
|
||||||
fontStyle='M'
|
style={{ color: colors.primaryDefault }}
|
||||||
style={{ color: colors.primaryDefault }}
|
numberOfLines={1}
|
||||||
numberOfLines={1}
|
>
|
||||||
>
|
{title}
|
||||||
{title}
|
</CustomText>
|
||||||
</CustomText>
|
|
||||||
</View>
|
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{content || switchValue !== undefined || iconBack ? (
|
{content || switchValue !== undefined || iconBack ? (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user