about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-06-03 15:33:35 -0700
committerGitHub <noreply@github.com>2024-06-03 23:33:35 +0100
commit16f295ca858bd75fba623ca1fc4f559792fd21f3 (patch)
tree96379b940327651987ae3fb5011d070a700d0f95
parentf05aebf78e816aa06a98fb0f826b7164775b3cc4 (diff)
downloadvoidsky-16f295ca858bd75fba623ca1fc4f559792fd21f3.tar.zst
truncate if extending one line acct switcher (#4310)
-rw-r--r--src/view/screens/Settings/index.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/screens/Settings/index.tsx b/src/view/screens/Settings/index.tsx
index 49702ae47..a647ea902 100644
--- a/src/view/screens/Settings/index.tsx
+++ b/src/view/screens/Settings/index.tsx
@@ -103,10 +103,10 @@ function SettingsAccountCard({
         />
       </View>
       <View style={[s.flex1]}>
-        <Text type="md-bold" style={pal.text}>
+        <Text type="md-bold" style={pal.text} numberOfLines={1}>
           {profile?.displayName || account.handle}
         </Text>
-        <Text type="sm" style={pal.textLight}>
+        <Text type="sm" style={pal.textLight} numberOfLines={1}>
           {account.handle}
         </Text>
       </View>
@@ -381,7 +381,7 @@ export function SettingsScreen({}: Props) {
             {!currentAccount.emailConfirmed && <EmailConfirmationNotice />}
 
             <View style={[s.flexRow, styles.heading]}>
-              <Text type="xl-bold" style={pal.text}>
+              <Text type="xl-bold" style={pal.text} numberOfLines={1}>
                 <Trans>Signed in as</Trans>
               </Text>
               <View style={s.flex1} />