forked from github/wulkanowy-mirror
Fix LuckyNumberWidget not showing ThemeDialog (#583)
This commit is contained in:
parent
40e95eac1e
commit
9e33ef419f
@ -58,7 +58,10 @@ class LuckyNumberWidgetConfigurePresenter @Inject constructor(
|
||||
.subscribe({
|
||||
when {
|
||||
it.isEmpty() -> view?.openLoginView()
|
||||
it.size == 1 -> registerStudent(it.single().student)
|
||||
it.size == 1 -> {
|
||||
selectedStudent = it.single().student
|
||||
view?.showThemeDialog()
|
||||
}
|
||||
else -> view?.updateData(it)
|
||||
}
|
||||
}, { errorHandler.dispatch(it) }))
|
||||
|
Loading…
Reference in New Issue
Block a user