Fix messages page button visibility

This commit is contained in:
Keannu Bernasol 2023-09-30 17:48:48 +08:00
parent 183b2b6e16
commit bbffea76a3

View file

@ -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