mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 03:48:06 +08:00
Improved user info page
This commit is contained in:
parent
0a5617ff56
commit
df58613d4b
3 changed files with 4 additions and 3 deletions
|
@ -72,11 +72,11 @@ export default function CustomDrawerContent(props: {}) {
|
|||
<DrawerButton
|
||||
color={colors.blue_2}
|
||||
onPress={() => {
|
||||
navigation.navigate("UserInfo");
|
||||
navigation.navigate("User Info");
|
||||
}}
|
||||
>
|
||||
<UserIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>UserInfo</Text>
|
||||
<Text style={styles.text_white_medium}>User Info</Text>
|
||||
</DrawerButton>
|
||||
<DrawerButton
|
||||
color={colors.blue_2}
|
||||
|
|
|
@ -37,6 +37,7 @@ export default function UserInfo() {
|
|||
});
|
||||
},
|
||||
});
|
||||
|
||||
const navigation = useNavigation<RootDrawerParamList>();
|
||||
const [isEditable, setIsEditable] = useState(false);
|
||||
const subjectOptions = ["", "", "", ""];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue