mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-18 16:20:36 +01:00
Small behavior improvement / open link dialog
This commit is contained in:
@@ -324,7 +324,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
|||||||
@Override
|
@Override
|
||||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||||
Uri link = (checked ? sanitized : uri);
|
Uri link = (checked ? sanitized : uri);
|
||||||
boolean secure = UriHelper.isSecure(link);
|
boolean secure = cbSecure.isChecked();
|
||||||
cbSecure.setTag(secure);
|
cbSecure.setTag(secure);
|
||||||
cbSecure.setChecked(secure);
|
cbSecure.setChecked(secure);
|
||||||
etLink.setText(format(UriHelper.secure(link, secure), context));
|
etLink.setText(format(UriHelper.secure(link, secure), context));
|
||||||
|
|||||||
Reference in New Issue
Block a user