Prevent crash

pull/194/head
M66B 4 years ago
parent 16a2fc9ba0
commit 3271c04743

@ -378,7 +378,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
@Override
public void onClick(View view) {
if (view.getId() == R.id.btnHelp)
Helper.viewFAQ(context, 22);
Helper.viewFAQ(view.getContext(), 22);
else {
int pos = getAdapterPosition();
if (pos == RecyclerView.NO_POSITION)

@ -3775,7 +3775,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
ivInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Helper.viewFAQ(context, 82);
Helper.viewFAQ(v.getContext(), 82);
}
});
}

Loading…
Cancel
Save