forked from github/wulkanowy-mirror
Fix displaying the feature disabled message in completed lessons (#849)
This commit is contained in:
parent
b9ab85ee55
commit
2ff031005e
@ -43,6 +43,7 @@ class CompletedLessonsPresenter @Inject constructor(
|
||||
completedLessonsErrorHandler.showErrorMessage = ::showErrorViewOnError
|
||||
completedLessonsErrorHandler.onFeatureDisabled = {
|
||||
this.view?.showFeatureDisabled()
|
||||
this.view?.showEmpty(true);
|
||||
Timber.i("Completed lessons feature disabled by school")
|
||||
}
|
||||
loadData(ofEpochDay(date ?: baseDate.toEpochDay()))
|
||||
|
Loading…
Reference in New Issue
Block a user