mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 01:55:17 +00:00
rendering tweaks for android
This commit is contained in:
parent
728c87e4a2
commit
ced2ff8da7
@ -95,7 +95,12 @@ export function Profile({close, params}: {close: () => void; params: ContactPara
|
||||
<IconButton style={styles.back} compact="true" mode="contained" icon="arrow-left" size={28} onPress={close} />
|
||||
</View>
|
||||
)}
|
||||
<Text style={styles.headerLabel} adjustsFontSizeToFit={true} numberOfLines={1}>{`${state.handle}${state.node ? '/' + state.node : ''}`}</Text>
|
||||
{ state.node && (
|
||||
<Text style={styles.headerLabel} adjustsFontSizeToFit={true} numberOfLines={1}>{`${state.handle}/${state.node}`}</Text>
|
||||
)}
|
||||
{ !state.node && (
|
||||
<Text style={styles.headerLabel} adjustsFontSizeToFit={true} numberOfLines={1}>{state.handle}</Text>
|
||||
)}
|
||||
{close && <View style={styles.spaceHolder} />}
|
||||
</View>
|
||||
<Divider style={styles.border} bold={true} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user