flagging and exclude

This commit is contained in:
gitea
2026-02-01 19:49:49 +01:00
parent 10a4837ee0
commit fe9c5a9fec
7 changed files with 72 additions and 23 deletions
+2
View File
@@ -60,6 +60,7 @@ class DeckStorage {
'immediateFeedbackEnabled': deck.config.immediateFeedbackEnabled,
'includeKnownInAttempts': deck.config.includeKnownInAttempts,
'shuffleAnswerOrder': deck.config.shuffleAnswerOrder,
'excludeFlaggedQuestions': deck.config.excludeFlaggedQuestions,
'timeLimitSeconds': deck.config.timeLimitSeconds,
},
'questions': deck.questions.map((q) => {
@@ -108,6 +109,7 @@ class DeckStorage {
immediateFeedbackEnabled: configJson['immediateFeedbackEnabled'] as bool? ?? true,
includeKnownInAttempts: configJson['includeKnownInAttempts'] as bool? ?? false,
shuffleAnswerOrder: configJson['shuffleAnswerOrder'] as bool? ?? true,
excludeFlaggedQuestions: configJson['excludeFlaggedQuestions'] as bool? ?? false,
timeLimitSeconds: configJson['timeLimitSeconds'] as int?,
);