Small behavior improvement / open link dialog

This commit is contained in:
M66B 2023-02-08 19:13:50 +01:00
parent 454c07e7af
commit 07e83c91f9
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
Uri link = (checked ? sanitized : uri);
boolean secure = UriHelper.isSecure(link);
boolean secure = cbSecure.isChecked();
cbSecure.setTag(secure);
cbSecure.setChecked(secure);
etLink.setText(format(UriHelper.secure(link, secure), context));