mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Added workaround for paging bug
This commit is contained in:
@@ -551,7 +551,11 @@ final class PagedStorage<T> extends AbstractList<T> {
|
||||
" size=" + newPageSize + "/" + mPageSize +
|
||||
" addingLastPage=" + addingLastPage +
|
||||
" onlyEndPagePresent=" + onlyEndPagePresent);
|
||||
return;
|
||||
if (newPageSize > mPageSize)
|
||||
// tiling size=1222/50 addingLastPage=false onlyEndPagePresent=false
|
||||
page = page.subList(0, mPageSize);
|
||||
else
|
||||
return;
|
||||
}
|
||||
if (onlyEndPagePresent) {
|
||||
mPageSize = newPageSize;
|
||||
|
||||
Reference in New Issue
Block a user