mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Small fix
This commit is contained in:
@@ -1448,7 +1448,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
else {
|
||||
String email = ((InternetAddress) a[0]).getAddress();
|
||||
String domain = UriHelper.getEmailDomain(email);
|
||||
String tld = UriHelper.getTld(context, domain);
|
||||
String tld = (domain == null ? "" : UriHelper.getTld(context, domain));
|
||||
int resid = context.getResources().getIdentifier(
|
||||
"flag_" + tld, "drawable", context.getPackageName());
|
||||
Drawable d = (resid > 0 ? context.getDrawable(resid) : null);
|
||||
|
||||
Reference in New Issue
Block a user