mirror of
				https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
				synced 2025-10-30 00:18:07 +01:00 
			
		
		
		
	Merge pull request #565 from scria1000/search-filter-fix-1
Recover from no result after switching sort mode
This commit is contained in:
		| @@ -1260,7 +1260,8 @@ public class PostFragment extends Fragment implements FragmentCommunicator { | ||||
|                 mFetchPostInfoLinearLayout.setOnClickListener(view -> refresh()); | ||||
|                 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) { | ||||
|                     noPostFound(); | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user