mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Improved user info page
This commit is contained in:
parent
a4d8309820
commit
0a5617ff56
1 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ export default function UserInfo() {
|
||||||
<ScrollView style={styles.background}>
|
<ScrollView style={styles.background}>
|
||||||
<AnimatedContainer>
|
<AnimatedContainer>
|
||||||
<Text style={styles.text_white_large}>
|
<Text style={styles.text_white_large}>
|
||||||
{user.first_name + " " + user.last_name}
|
{(user.first_name || "Undefined") + " " + (user.last_name || "User")}
|
||||||
</Text>
|
</Text>
|
||||||
<View>
|
<View>
|
||||||
<Avatar />
|
<Avatar />
|
||||||
|
@ -93,7 +93,7 @@ export default function UserInfo() {
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flex: 3 }}>
|
<View style={{ flex: 3 }}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.input, !isEditable && styles.input]}
|
style={styles.input}
|
||||||
editable={isEditable}
|
editable={isEditable}
|
||||||
onChange={(
|
onChange={(
|
||||||
e: NativeSyntheticEvent<TextInputChangeEventData>
|
e: NativeSyntheticEvent<TextInputChangeEventData>
|
||||||
|
@ -111,7 +111,7 @@ export default function UserInfo() {
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flex: 3 }}>
|
<View style={{ flex: 3 }}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.input, !isEditable && styles.input]}
|
style={styles.input}
|
||||||
editable={isEditable}
|
editable={isEditable}
|
||||||
onChange={(
|
onChange={(
|
||||||
e: NativeSyntheticEvent<TextInputChangeEventData>
|
e: NativeSyntheticEvent<TextInputChangeEventData>
|
||||||
|
@ -128,7 +128,7 @@ export default function UserInfo() {
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flex: 3 }}>
|
<View style={{ flex: 3 }}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.input, !isEditable && styles.input]}
|
style={styles.input}
|
||||||
editable={isEditable}
|
editable={isEditable}
|
||||||
onChange={(
|
onChange={(
|
||||||
e: NativeSyntheticEvent<TextInputChangeEventData>
|
e: NativeSyntheticEvent<TextInputChangeEventData>
|
||||||
|
@ -145,7 +145,7 @@ export default function UserInfo() {
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flex: 3 }}>
|
<View style={{ flex: 3 }}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.input, !isEditable && styles.input]}
|
style={styles.input}
|
||||||
editable={isEditable}
|
editable={isEditable}
|
||||||
onChange={(
|
onChange={(
|
||||||
e: NativeSyntheticEvent<TextInputChangeEventData>
|
e: NativeSyntheticEvent<TextInputChangeEventData>
|
||||||
|
|
Loading…
Reference in a new issue