mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-15 10:26:53 -04:00
Update ZimFileSelectFragment.java
This commit is contained in:
parent
6bbea63a8e
commit
62d7b3248b
@ -138,8 +138,7 @@ public class ZimFileSelectFragment extends BaseFragment
|
|||||||
|
|
||||||
if (checked) { // If the item was selected
|
if (checked) { // If the item was selected
|
||||||
selectedViewPosition.add(position);
|
selectedViewPosition.add(position);
|
||||||
swipeRefreshLayout.setEnabled(
|
swipeRefreshLayout.setEnabled(false); //disabled to stop selected items getting deselected (issue #1019)
|
||||||
false); //disabled to stop selected items getting deselected (issue #1019)
|
|
||||||
swipeRefreshLayout.setRefreshing(false);
|
swipeRefreshLayout.setRefreshing(false);
|
||||||
mode.setTitle("" + selectedViewPosition.size()); // Update title of the CAB
|
mode.setTitle("" + selectedViewPosition.size()); // Update title of the CAB
|
||||||
} else { // If the item was deselected
|
} else { // If the item was deselected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user