Refactor, decompose and add previews. Fix part of speech sheet pop over
This commit is contained in:
@@ -157,7 +157,7 @@ struct FlashCardStack: View {
|
||||
var cardInDatabase = false
|
||||
for answer in flashCardAnswers {
|
||||
if answer.word == shuffledDictionary[currentFlashCard].word {
|
||||
print("word in database: \(answer.word)")
|
||||
print("word in database: \(answer.word ?? "nil")")
|
||||
print("tries: \(answer.triesCount)")
|
||||
print("correct`: \(answer.correctCount)")
|
||||
cardInDatabase = true
|
||||
|
||||
Reference in New Issue
Block a user