mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2024-11-23 22:46:31 -06:00
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