Fix/cleanup

pull/171/head
M66B 5 years ago
parent be9ca6beed
commit b2724c35db

@ -261,7 +261,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
BottomNavigationView.OnNavigationItemSelectedListener { BottomNavigationView.OnNavigationItemSelectedListener {
private ViewCardOptional card; private ViewCardOptional card;
private View view; private View view;
private View header;
private View vwColor; private View vwColor;
private ImageButton ibExpander; private ImageButton ibExpander;
@ -385,7 +384,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
card = itemView.findViewById(R.id.card); card = itemView.findViewById(R.id.card);
view = itemView.findViewById(R.id.clItem); view = itemView.findViewById(R.id.clItem);
header = itemView.findViewById(R.id.inHeader);
vwColor = itemView.findViewById(R.id.vwColor); vwColor = itemView.findViewById(R.id.vwColor);
ibExpander = itemView.findViewById(R.id.ibExpander); ibExpander = itemView.findViewById(R.id.ibExpander);
@ -623,7 +621,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (accessibility) if (accessibility)
header.setAccessibilityDelegate(accessibilityDelegateHeader); view.setAccessibilityDelegate(accessibilityDelegateHeader);
} }
private void unwire() { private void unwire() {
@ -668,7 +666,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
if (accessibility) if (accessibility)
header.setAccessibilityDelegate(null); view.setAccessibilityDelegate(null);
} }
private void clear() { private void clear() {

Loading…
Cancel
Save