ui tweaks for android

This commit is contained in:
Roland Osborne 2025-02-07 13:31:10 -08:00
parent ced2ff8da7
commit d72e5b8f4e
4 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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)}