mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
Finish action bar mode when all items are deselected
This commit is contained in:
parent
1fa1f4a553
commit
6d0abdcad2
@ -98,6 +98,9 @@ public class PasswordRecyclerAdapter extends RecyclerView.Adapter<PasswordRecycl
|
||||
public void onClick(View v) {
|
||||
if (mActionMode != null) {
|
||||
toggleSelection(holder.position);
|
||||
if (selectedItems.size() == 0) {
|
||||
mActionMode.finish();
|
||||
}
|
||||
} else {
|
||||
listener.onFragmentInteraction(pass);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user