Prevent crash

This commit is contained in:
M66B
2022-04-23 09:56:48 +02:00
parent 2d57e07682
commit 13773c97c7
8 changed files with 27 additions and 0 deletions

View File

@@ -181,6 +181,9 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
@Override
public void afterTextChanged(Editable editable) {
if (cbSecure == null)
return;
Uri uri = Uri.parse(editable.toString());
boolean secure = UriHelper.isSecure(uri);