mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 11:25:13 +01:00
Prevent crash
This commit is contained in:
@@ -141,7 +141,7 @@ public class UriHelper {
|
||||
}
|
||||
|
||||
static boolean hasTld(Context context, String host) {
|
||||
return (getTld(context, host) != null);
|
||||
return (host != null && getTld(context, host) != null);
|
||||
}
|
||||
|
||||
static String getTld(Context context, @NonNull String host) {
|
||||
|
||||
Reference in New Issue
Block a user