1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Small improvement

This commit is contained in:
M66B 2020-06-23 21:10:44 +02:00
parent fa30468e75
commit 42b14b4f20

View file

@ -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);