Prevent crash

pull/214/head
M66B 9 months ago
parent 9487046fab
commit 09e469b455

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

Loading…
Cancel
Save