Prevent crash

This commit is contained in:
M66B
2021-11-30 14:48:46 +01:00
parent 85bc0a1567
commit a8eb149cfa
3 changed files with 6 additions and 3 deletions

View File

@@ -114,7 +114,8 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
tvDrafts = itemView.findViewById(R.id.tvDrafts);
tvError = itemView.findViewById(R.id.tvError);
vwColor.getLayoutParams().width = colorStripeWidth;
if (vwColor != null)
vwColor.getLayoutParams().width = colorStripeWidth;
}
private void wire() {