Prevent double keyword buttons

This commit is contained in:
M66B 2022-08-25 16:16:29 +02:00
parent ec0754e26c
commit e6f2e30149
1 changed files with 3 additions and 0 deletions

View File

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