diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eb995f00c2..66b3ffd5f89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ - changed: Display Asset Status cards in the same style as Promo Cards - changed: Updated ACH supported US states - changed: Use new platform-specific `assetStatsCards2` info server data +- fixed: Missing ellipses for long usernames displayed in the `SideMenu` - fixed: Inconsistent content of address hint dropdown between iOS and Android in `AddressFormScene` - fixed: Allow `InfoCardCarousel` to receive undefined `countryCodes` - fixed: Crash on HomeScene when logging while in airplane mode diff --git a/src/components/themed/SideMenu.tsx b/src/components/themed/SideMenu.tsx index 239efc95863..08dfd3f5f78 100644 --- a/src/components/themed/SideMenu.tsx +++ b/src/components/themed/SideMenu.tsx @@ -39,6 +39,7 @@ import { Services } from '../services/Services' import { cacheStyles, Theme, useTheme } from '../services/ThemeContext' import { TitleText } from '../text/TitleText' import { DividerLine } from './DividerLine' +import { EdgeText } from './EdgeText' const footerGradientStart = { x: 0, y: 0 } const footerGradientEnd = { x: 0, y: 0.75 } @@ -296,7 +297,9 @@ export function SideMenu(props: DrawerContentComponentProps) { - {displayUsername} + + {displayUsername} + {isMultiUsers ? ( @@ -321,9 +324,9 @@ export function SideMenu(props: DrawerContentComponentProps) { {/* This empty container is required to align the row contents properly */} - + {userInfo.username == null ? sprintf(lstrings.guest_account_id_1s, userInfo.loginId.slice(userInfo.loginId.length - 3)) : userInfo.username} - +