TP-17366 | Custom pager alter data fix (#13933)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user