From 4c82c4f9133db6fa8fdb0b910d2c1050b2e83450 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Mon, 14 Oct 2019 15:55:22 +0200 Subject: [PATCH] Don't enable item selection when syncing --- app/src/main/java/com/readrops/app/activities/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/readrops/app/activities/MainActivity.java b/app/src/main/java/com/readrops/app/activities/MainActivity.java index b4a0ab50..cabb26b7 100644 --- a/app/src/main/java/com/readrops/app/activities/MainActivity.java +++ b/app/src/main/java/com/readrops/app/activities/MainActivity.java @@ -312,7 +312,7 @@ public class MainActivity extends AppCompatActivity implements SwipeRefreshLayou @Override public void onItemLongClick(ItemWithFeed itemWithFeed, int position) { - if (actionMode != null) + if (actionMode != null || refreshLayout.isRefreshing()) return; selectedItemWithFeed = itemWithFeed;