We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fc62be + 4cd6738 commit ca8fbf6Copy full SHA for ca8fbf6
Sources/iOSCore/Scenes/WordChecking/WordCheckingReactor.swift
@@ -78,10 +78,10 @@ final class WordCheckingReactor: Reactor {
78
case .addWord(let newWord):
79
let newWord: Word = .init(word: newWord)
80
return wordUseCase.addNewWord(newWord)
81
+ .asObservable()
82
.map {
- return Mutation.setCurrentWord(newWord)
83
+ return Mutation.setCurrentWord(self.wordUseCase.currentUnmemorizedWord)
84
}
- .asObservable()
85
86
case .updateToNextWord:
87
return wordUseCase.updateToNextWord()
0 commit comments