Add Other Accounts header to reduce ambiguity
This commit is contained in:
@@ -373,6 +373,15 @@ export function SettingsScreen({}: Props) {
|
|||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
<View pointerEvents={pendingDid ? 'none' : 'auto'}>
|
<View pointerEvents={pendingDid ? 'none' : 'auto'}>
|
||||||
|
{accounts.length > 1 && (
|
||||||
|
<View style={[s.flexRow, styles.heading]}>
|
||||||
|
<Text type="xl-bold" style={pal.text} numberOfLines={1}>
|
||||||
|
<Trans>Other accounts</Trans>
|
||||||
|
</Text>
|
||||||
|
<View style={s.flex1} />
|
||||||
|
</View>
|
||||||
|
)}
|
||||||
|
|
||||||
{accounts
|
{accounts
|
||||||
.filter(a => a.did !== currentAccount?.did)
|
.filter(a => a.did !== currentAccount?.did)
|
||||||
.map(account => (
|
.map(account => (
|
||||||
|
|||||||
Reference in New Issue
Block a user