Skip to content
Snippets Groups Projects
Commit 5d4f6547 authored by HARTZ HENRI's avatar HARTZ HENRI
Browse files

feat: hide my quizzes

parent 36ad94d3
Branches
2 merge requests!135Feature/141 hide functionality not working,!132V4.0
......@@ -39,8 +39,8 @@ export default function HomeChild({navigation}: Props) {
});
}
const handleButtonMyQuizzesPressed = () => {
// navigation.navigate("MyQuizzes");
navigation.navigate("PlayingQuiz", {runId: "1", quizId: "1"});
navigation.navigate("MyQuizzes");
// navigation.navigate("PlayingQuiz", {runId: "1", quizId: "1"});
}
const handleButtonGeneratePressed = () => {
......@@ -55,7 +55,7 @@ export default function HomeChild({navigation}: Props) {
<View style={styles.buttonContainer}>
<MenuButton text={"QUICK GAME"} handleButtonPressed={handleButtonQuickGamePressed}/>
<MenuButton text={"PLAY"} handleButtonPressed={handleButtonGeneratePressed}/>
<MenuButton text={"MY QUIZZES"} handleButtonPressed={handleButtonMyQuizzesPressed}/>
{/* <MenuButton text={"MY QUIZZES"} handleButtonPressed={handleButtonMyQuizzesPressed}/> */}
</View>
</View>
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment