You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/ui/src/main/kotlin/de/tum/informatics/www1/artemis/native_app/core/ui/exercise/ExerciseActionButtons.kt
+15-14Lines changed: 15 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -77,20 +77,21 @@ fun ExerciseActionButtons(
77
77
val startQuizAvailable = exercise.isUninitializedC
78
78
79
79
if (openQuizAvailable || startQuizAvailable) {
80
-
Button(
81
-
modifier = modifier,
82
-
onClick = {
83
-
if (openQuizAvailable) actions.onClickOpenQuiz()
84
-
else actions.onClickStartQuiz()
85
-
}
86
-
) {
87
-
Text(
88
-
text = stringResource(
89
-
id =if (openQuizAvailable) R.string.exercise_actions_open_quiz_button
90
-
elseR.string.exercise_actions_start_quiz_button
91
-
)
92
-
)
93
-
}
80
+
// TODO: Quiz participation temporarily disabled. See https://github.com/ls1intum/artemis-android/issues/107
81
+
// Button(
82
+
// modifier = modifier,
83
+
// onClick = {
84
+
// if (openQuizAvailable) actions.onClickOpenQuiz()
85
+
// else actions.onClickStartQuiz()
86
+
// }
87
+
// ) {
88
+
// Text(
89
+
// text = stringResource(
90
+
// id = if (openQuizAvailable) R.string.exercise_actions_open_quiz_button
0 commit comments