forked from github/wulkanowy-mirror
Reload grade list on mark all as read (#990)
This commit is contained in:
parent
af0787c0b1
commit
5092f8c0bf
@ -81,7 +81,10 @@ class GradeDetailsPresenter @Inject constructor(
|
||||
}.onEach {
|
||||
when (it.status) {
|
||||
Status.LOADING -> Timber.i("Select mark grades as read")
|
||||
Status.SUCCESS -> Timber.i("Mark as read result: Success")
|
||||
Status.SUCCESS -> {
|
||||
Timber.i("Mark as read result: Success")
|
||||
loadData(currentSemesterId, false)
|
||||
}
|
||||
Status.ERROR -> {
|
||||
Timber.i("Mark as read result: An exception occurred")
|
||||
errorHandler.dispatch(it.error!!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user