mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Small behavior fix
This commit is contained in:
parent
0d4d10ce27
commit
e8ec62b492
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue