forked from github/wulkanowy-mirror
Fix overlapping error view (#1493)
This commit is contained in:
parent
7217d0f753
commit
6d5acbad2c
@ -234,6 +234,7 @@ class AttendancePresenter @Inject constructor(
|
||||
enableSwipe(true)
|
||||
showRefresh(true)
|
||||
showProgress(false)
|
||||
showErrorView(false)
|
||||
showEmpty(filteredAttendance.isEmpty())
|
||||
showContent(filteredAttendance.isNotEmpty())
|
||||
updateData(filteredAttendance.sortedBy { item -> item.number })
|
||||
|
@ -117,6 +117,7 @@ class MessageTabPresenter @Inject constructor(
|
||||
if (!it.data.isNullOrEmpty()) {
|
||||
view?.run {
|
||||
enableSwipe(true)
|
||||
showErrorView(false)
|
||||
showRefresh(true)
|
||||
showProgress(false)
|
||||
showContent(true)
|
||||
|
@ -64,6 +64,7 @@ class SchoolAnnouncementPresenter @Inject constructor(
|
||||
view?.run {
|
||||
enableSwipe(true)
|
||||
showRefresh(true)
|
||||
showErrorView(false)
|
||||
showProgress(false)
|
||||
showContent(true)
|
||||
updateData(it.data)
|
||||
|
@ -149,6 +149,7 @@ class TimetablePresenter @Inject constructor(
|
||||
view?.run {
|
||||
enableSwipe(true)
|
||||
showRefresh(true)
|
||||
showErrorView(false)
|
||||
showProgress(false)
|
||||
showContent(true)
|
||||
updateData(it.data!!.lessons)
|
||||
|
Loading…
x
Reference in New Issue
Block a user