Don't enable item selection when syncing

This commit is contained in:
Shinokuni 2019-10-14 15:55:22 +02:00
parent 9af213c26b
commit 4c82c4f913
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ public class MainActivity extends AppCompatActivity implements SwipeRefreshLayou
@Override @Override
public void onItemLongClick(ItemWithFeed itemWithFeed, int position) { public void onItemLongClick(ItemWithFeed itemWithFeed, int position) {
if (actionMode != null) if (actionMode != null || refreshLayout.isRefreshing())
return; return;
selectedItemWithFeed = itemWithFeed; selectedItemWithFeed = itemWithFeed;