Prevent double keyword buttons

pull/209/head
M66B 2 years ago
parent ec0754e26c
commit e6f2e30149

@ -2286,6 +2286,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (keywords == null) if (keywords == null)
return; return;
if (buttons.getReferencedIds().length > 0)
return;
int dp3 = Helper.dp2pixels(context, 3); int dp3 = Helper.dp2pixels(context, 3);
Drawable on = ContextCompat.getDrawable(context, R.drawable.twotone_check_12); Drawable on = ContextCompat.getDrawable(context, R.drawable.twotone_check_12);
Drawable off = ContextCompat.getDrawable(context, R.drawable.twotone_close_12); Drawable off = ContextCompat.getDrawable(context, R.drawable.twotone_close_12);

Loading…
Cancel
Save