Skip to content

Commit c50626e

Browse files
committed
update
1 parent 907e701 commit c50626e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docs/src/nav/README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,7 @@ fun questionScreen(questions: List<Question>, onFinishButtonPushed: (Int,Int) ->
139139
Button(
140140
modifier = Modifier.padding(bottom = 20.dp),
141141
onClick = {
142-
/* FOR SPEAKER TALK DEMO ON WEB APP */
143-
if (getPlatform().name == "WASM") {
144-
onSaveStatQuestion(
145-
questions[questionProgress].id,
146-
questions[questionProgress].label,
147-
selectedAnswer,
148-
questions[questionProgress].correctAnswerId,
149-
questions[questionProgress].answers[selectedAnswer.toInt() - 1].label
150-
)
151-
}
142+
152143

153144
if (selectedAnswer == questions[questionProgress].correctAnswerId) {
154145
score++

0 commit comments

Comments
 (0)