NTP-8865 | buffer condition for scratch card pagination (#13550)
This commit is contained in:
@@ -140,7 +140,8 @@ class ScratchCardHistoryCustomPager(
|
||||
if (
|
||||
pagerList.value.isEmpty() &&
|
||||
data?.scratchCardHistoryList.isNullOrEmpty() &&
|
||||
fetchType == FetchType.EXPIRED
|
||||
fetchType == FetchType.EXPIRED &&
|
||||
buffer.isNull()
|
||||
) {
|
||||
_scratchCardHistoryListData.update { ScratchCardPaginatedHistoryScreenState.Empty }
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user