Fix bad references in account switcher (#1999)
parent
486fb72798
commit
3007c1dc8a
|
@ -45,10 +45,10 @@ function SwitchAccountCard({account}: {account: SessionAccount}) {
|
||||||
</View>
|
</View>
|
||||||
<View style={[s.flex1]}>
|
<View style={[s.flex1]}>
|
||||||
<Text type="md-bold" style={pal.text} numberOfLines={1}>
|
<Text type="md-bold" style={pal.text} numberOfLines={1}>
|
||||||
{profile?.displayName || currentAccount?.handle}
|
{profile?.displayName || account?.handle}
|
||||||
</Text>
|
</Text>
|
||||||
<Text type="sm" style={pal.textLight} numberOfLines={1}>
|
<Text type="sm" style={pal.textLight} numberOfLines={1}>
|
||||||
{currentAccount?.handle}
|
{account?.handle}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue