From d72e5b8f4e567340c52faec49c220737a43e237b Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Fri, 7 Feb 2025 13:31:10 -0800 Subject: [PATCH] ui tweaks for android --- app/client/mobile/src/card/Card.tsx | 2 +- app/client/mobile/src/message/Message.tsx | 2 +- app/client/mobile/src/profile/Profile.tsx | 2 +- app/client/mobile/src/settings/Settings.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/client/mobile/src/card/Card.tsx b/app/client/mobile/src/card/Card.tsx index 0dc85d17..bc5dcb19 100644 --- a/app/client/mobile/src/card/Card.tsx +++ b/app/client/mobile/src/card/Card.tsx @@ -38,7 +38,7 @@ export function Card({ )} - {node ? `${handle}/${node}` : handle} + {node ? `${handle}@${node}` : handle} {actions} diff --git a/app/client/mobile/src/message/Message.tsx b/app/client/mobile/src/message/Message.tsx index 57514373..6e1c53ad 100644 --- a/app/client/mobile/src/message/Message.tsx +++ b/app/client/mobile/src/message/Message.tsx @@ -218,7 +218,7 @@ export function Message({ topic, card, profile, host, select, selected }: { topi { name } )} { !name && handle && ( - { `${handle}${node ? '/' + node : ''}` } + { `${handle}${node ? '@' + node : ''}` } )} { !name && !handle && ( { state.strings.unknownContact } diff --git a/app/client/mobile/src/profile/Profile.tsx b/app/client/mobile/src/profile/Profile.tsx index 5bf55b60..b9e8329c 100644 --- a/app/client/mobile/src/profile/Profile.tsx +++ b/app/client/mobile/src/profile/Profile.tsx @@ -96,7 +96,7 @@ export function Profile({close, params}: {close: () => void; params: ContactPara )} { state.node && ( - {`${state.handle}/${state.node}`} + {`${state.handle}@${state.node}`} )} { !state.node && ( {state.handle} diff --git a/app/client/mobile/src/settings/Settings.tsx b/app/client/mobile/src/settings/Settings.tsx index 40e56485..30f93502 100644 --- a/app/client/mobile/src/settings/Settings.tsx +++ b/app/client/mobile/src/settings/Settings.tsx @@ -413,7 +413,7 @@ export function Settings({showLogout}: {showLogout: boolean}) { - {`${state.profile.handle}${state.profile.node ? '/' + state.profile.node : ''}`} + {`${state.profile.handle}${state.profile.node ? '@' + state.profile.node : ''}`} @@ -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={} onChangeText={value => actions.setDescription(value)}