TP-17366 | Custom pager alter data fix (#13933)

This commit is contained in:
Ayushman Sharma
2024-12-04 17:29:46 +05:30
committed by GitHub
parent 6215884454
commit 429782db9f

View File

@@ -179,7 +179,7 @@ class ScratchCardHistoryCustomPager(
// alter data if total size is odd
if (alterData && list.isNotEmpty()) {
buffer = list.removeLast()
buffer = list.removeAt(list.lastIndex)
}
return list
}