mirror of https://github.com/M66B/FairEmail.git
Added workaround for paging bug
This commit is contained in:
parent
138baa4d78
commit
0717d3b0a1
|
@ -551,6 +551,10 @@ final class PagedStorage<T> extends AbstractList<T> {
|
|||
" size=" + newPageSize + "/" + mPageSize +
|
||||
" addingLastPage=" + addingLastPage +
|
||||
" onlyEndPagePresent=" + onlyEndPagePresent);
|
||||
if (newPageSize > mPageSize)
|
||||
// tiling size=1222/50 addingLastPage=false onlyEndPagePresent=false
|
||||
page = page.subList(0, mPageSize);
|
||||
else
|
||||
return;
|
||||
}
|
||||
if (onlyEndPagePresent) {
|
||||
|
|
Loading…
Reference in New Issue