Prevent clicking on account/identity/folder to be deleted

This commit is contained in:
M66B
2019-01-12 11:02:26 +00:00
parent 05b76d6122
commit 57dccf371e
3 changed files with 10 additions and 0 deletions

View File

@@ -110,7 +110,10 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
int pos = getAdapterPosition();
if (pos == RecyclerView.NO_POSITION)
return;
TupleIdentityEx identity = filtered.get(pos);
if (identity.tbd != null)
return;
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
lbm.sendBroadcast(