mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Prevent crash
This commit is contained in:
parent
85bc0a1567
commit
a8eb149cfa
3 changed files with 6 additions and 3 deletions
|
@ -152,7 +152,8 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
|
||||||
btnHelp = itemView.findViewById(R.id.btnHelp);
|
btnHelp = itemView.findViewById(R.id.btnHelp);
|
||||||
grpSettings = itemView.findViewById(R.id.grpSettings);
|
grpSettings = itemView.findViewById(R.id.grpSettings);
|
||||||
|
|
||||||
vwColor.getLayoutParams().width = colorStripeWidth;
|
if (vwColor != null)
|
||||||
|
vwColor.getLayoutParams().width = colorStripeWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void wire() {
|
private void wire() {
|
||||||
|
|
|
@ -187,7 +187,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
grpFlagged = itemView.findViewById(R.id.grpFlagged);
|
grpFlagged = itemView.findViewById(R.id.grpFlagged);
|
||||||
grpExtended = itemView.findViewById(R.id.grpExtended);
|
grpExtended = itemView.findViewById(R.id.grpExtended);
|
||||||
|
|
||||||
vwColor.getLayoutParams().width = colorStripeWidth;
|
if (vwColor != null)
|
||||||
|
vwColor.getLayoutParams().width = colorStripeWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void wire() {
|
private void wire() {
|
||||||
|
|
|
@ -114,7 +114,8 @@ public class AdapterIdentity extends RecyclerView.Adapter<AdapterIdentity.ViewHo
|
||||||
tvDrafts = itemView.findViewById(R.id.tvDrafts);
|
tvDrafts = itemView.findViewById(R.id.tvDrafts);
|
||||||
tvError = itemView.findViewById(R.id.tvError);
|
tvError = itemView.findViewById(R.id.tvError);
|
||||||
|
|
||||||
vwColor.getLayoutParams().width = colorStripeWidth;
|
if (vwColor != null)
|
||||||
|
vwColor.getLayoutParams().width = colorStripeWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void wire() {
|
private void wire() {
|
||||||
|
|
Loading…
Reference in a new issue