mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-02-22 09:24:45 +01:00
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.showErrorMessage = ::showErrorViewOnError
|
||||||
completedLessonsErrorHandler.onFeatureDisabled = {
|
completedLessonsErrorHandler.onFeatureDisabled = {
|
||||||
this.view?.showFeatureDisabled()
|
this.view?.showFeatureDisabled()
|
||||||
|
this.view?.showEmpty(true);
|
||||||
Timber.i("Completed lessons feature disabled by school")
|
Timber.i("Completed lessons feature disabled by school")
|
||||||
}
|
}
|
||||||
loadData(ofEpochDay(date ?: baseDate.toEpochDay()))
|
loadData(ofEpochDay(date ?: baseDate.toEpochDay()))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user