mirror of
https://github.com/balzack/databag.git
synced 2025-04-23 01:55:17 +00:00
ui tweaks for android
This commit is contained in:
parent
ced2ff8da7
commit
d72e5b8f4e
@ -38,7 +38,7 @@ export function Card({
|
||||
</Text>
|
||||
)}
|
||||
<Text numberOfLines={1} style={styles.handle}>
|
||||
{node ? `${handle}/${node}` : handle}
|
||||
{node ? `${handle}@${node}` : handle}
|
||||
</Text>
|
||||
</View>
|
||||
<View style={styles.actions}>{actions}</View>
|
||||
|
@ -218,7 +218,7 @@ export function Message({ topic, card, profile, host, select, selected }: { topi
|
||||
<Text style={styles.handle}>{ name }</Text>
|
||||
)}
|
||||
{ !name && handle && (
|
||||
<Text style={styles.handle}>{ `${handle}${node ? '/' + node : ''}` }</Text>
|
||||
<Text style={styles.handle}>{ `${handle}${node ? '@' + node : ''}` }</Text>
|
||||
)}
|
||||
{ !name && !handle && (
|
||||
<Text style={styles.unknown}>{ state.strings.unknownContact }</Text>
|
||||
|
@ -96,7 +96,7 @@ export function Profile({close, params}: {close: () => void; params: ContactPara
|
||||
</View>
|
||||
)}
|
||||
{ state.node && (
|
||||
<Text style={styles.headerLabel} adjustsFontSizeToFit={true} numberOfLines={1}>{`${state.handle}/${state.node}`}</Text>
|
||||
<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>
|
||||
|
@ -413,7 +413,7 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
||||
<View>
|
||||
<View style={styles.settings}>
|
||||
<View style={styles.title}>
|
||||
<Text style={styles.header} adjustsFontSizeToFit={true} numberOfLines={1}>{`${state.profile.handle}${state.profile.node ? '/' + state.profile.node : ''}`}</Text>
|
||||
<Text style={styles.header} adjustsFontSizeToFit={true} numberOfLines={1}>{`${state.profile.handle}${state.profile.node ? '@' + state.profile.node : ''}`}</Text>
|
||||
<Divider style={styles.border} bold={true} />
|
||||
</View>
|
||||
<View style={styles.scrollWrapper}>
|
||||
@ -914,7 +914,7 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
||||
autoComplete="off"
|
||||
autoCorrect={false}
|
||||
label={Platform.OS==='ios'?state.strings.description:undefined}
|
||||
placeholdfer={Platform.OS!=='ios'?state.strings.description:undefined}
|
||||
placeholder={Platform.OS!=='ios'?state.strings.description:undefined}
|
||||
value={state.description}
|
||||
left={<TextInput.Icon style={styles.inputIcon} icon="book-open-outline" />}
|
||||
onChangeText={value => actions.setDescription(value)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user