Small improvement

pull/182/head
M66B 4 years ago
parent fa30468e75
commit 42b14b4f20

@ -5732,7 +5732,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
int resid = 0;
if (data.second.country != null)
resid = getResources().getIdentifier(
"flag_" + data.second.country.toLowerCase(),
"flag_" + data.second.country.toLowerCase(Locale.ROOT),
"drawable", getContext().getPackageName());
if (resid == 0)
ivFlag.setImageDrawable(null);

Loading…
Cancel
Save