mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Small behavior fix
This commit is contained in:
@@ -99,7 +99,9 @@ public class FragmentDialogInsertLink extends FragmentDialogBase {
|
||||
return;
|
||||
|
||||
Uri uri = Uri.parse(editable.toString());
|
||||
tvInsecure.setVisibility(UriHelper.isSecure(uri) ? View.GONE : View.VISIBLE);
|
||||
tvInsecure.setVisibility(
|
||||
!UriHelper.isHyperLink(uri) || UriHelper.isSecure(uri)
|
||||
? View.GONE : View.VISIBLE);
|
||||
btnMetadata.setEnabled(UriHelper.isHyperLink(uri));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user