mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 12:47:26 +01:00
parent
e2964893da
commit
68db5a670d
@ -1260,7 +1260,8 @@ public class PostFragment extends Fragment implements FragmentCommunicator {
|
|||||||
mFetchPostInfoLinearLayout.setOnClickListener(view -> refresh());
|
mFetchPostInfoLinearLayout.setOnClickListener(view -> refresh());
|
||||||
showErrorView(R.string.load_posts_error);
|
showErrorView(R.string.load_posts_error);
|
||||||
}
|
}
|
||||||
if (appendLoadState instanceof LoadState.NotLoading) {
|
if (!(refreshLoadState instanceof LoadState.Loading) // #563
|
||||||
|
&& appendLoadState instanceof LoadState.NotLoading) {
|
||||||
if (appendLoadState.getEndOfPaginationReached() && mAdapter.getItemCount() < 1) {
|
if (appendLoadState.getEndOfPaginationReached() && mAdapter.getItemCount() < 1) {
|
||||||
noPostFound();
|
noPostFound();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user