mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-18 21:16:48 -06:00
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 {
|
}.onEach {
|
||||||
when (it.status) {
|
when (it.status) {
|
||||||
Status.LOADING -> Timber.i("Select mark grades as read")
|
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 -> {
|
Status.ERROR -> {
|
||||||
Timber.i("Mark as read result: An exception occurred")
|
Timber.i("Mark as read result: An exception occurred")
|
||||||
errorHandler.dispatch(it.error!!)
|
errorHandler.dispatch(it.error!!)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user