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

@@ -118,7 +118,10 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
int pos = getAdapterPosition();
if (pos == RecyclerView.NO_POSITION)
return;
EntityAccount account = filtered.get(pos);
if (account.tbd != null)
return;
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
lbm.sendBroadcast(