mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Fix messages page button visibility
This commit is contained in:
parent
183b2b6e16
commit
bbffea76a3
1 changed files with 8 additions and 8 deletions
|
@ -131,6 +131,14 @@ export default function CustomDrawerContent(props: {}) {
|
|||
<SubjectIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>Subjects</Text>
|
||||
</DrawerButton>
|
||||
<DrawerButton
|
||||
onPress={() => {
|
||||
navigation.navigate("Conversation");
|
||||
}}
|
||||
>
|
||||
<SubjectIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>Conversation</Text>
|
||||
</DrawerButton>
|
||||
<DrawerButton
|
||||
onPress={async () => {
|
||||
if (debug_disable_clear_on_logout) {
|
||||
|
@ -178,14 +186,6 @@ export default function CustomDrawerContent(props: {}) {
|
|||
<SignupIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>Register</Text>
|
||||
</DrawerButton>
|
||||
<DrawerButton
|
||||
onPress={() => {
|
||||
navigation.navigate("Conversation");
|
||||
}}
|
||||
>
|
||||
<SubjectIcon size={32} />
|
||||
<Text style={styles.text_white_medium}>Conversation</Text>
|
||||
</DrawerButton>
|
||||
{/*
|
||||
Debug buttons for accessing revalidation and activation page
|
||||
<DrawerButton
|
||||
|
|
Loading…
Reference in a new issue