Page MenuHomePhabricator

D9013.id30822.diff
No OneTemporary

D9013.id30822.diff

diff --git a/native/components/user-profile.react.js b/native/components/user-profile.react.js
--- a/native/components/user-profile.react.js
+++ b/native/components/user-profile.react.js
@@ -9,6 +9,7 @@
import SWMansionIcon from './swmansion-icon.react.js';
import UserAvatar from '../avatars/user-avatar.react.js';
+import { SingleLine } from '../components/single-line.react.js';
import { useStyles } from '../themes/colors.js';
type Props = {
@@ -66,7 +67,9 @@
<View style={styles.userInfoContainer}>
<UserAvatar size="profile" userID={userInfo.id} />
<View style={styles.usernameContainer}>
- <Text style={styles.usernameText}>{userInfo.username}</Text>
+ <SingleLine style={styles.usernameText}>
+ {userInfo.username}
+ </SingleLine>
{copyUsernameButton}
</View>
</View>
@@ -86,7 +89,9 @@
flexDirection: 'row',
},
usernameContainer: {
+ flex: 1,
justifyContent: 'center',
+ alignItems: 'flex-start',
paddingLeft: 16,
},
usernameText: {

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 7:12 PM (4 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605872
Default Alt Text
D9013.id30822.diff (1 KB)

Event Timeline