mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2026-04-25 01:10:12 +02:00
Ensure enable autofill checkbox appearance matches setting
This commit is contained in:
parent
ebe1f831e7
commit
5caa665111
|
|
@ -212,14 +212,15 @@ public class UserPreference extends AppCompatActivity {
|
|||
startActivity(intent);
|
||||
}
|
||||
}).
|
||||
setNegativeButton(R.string.dialog_cancel,new DialogInterface.OnClickListener() {
|
||||
setNegativeButton(R.string.dialog_cancel, null).
|
||||
setOnDismissListener(new DialogInterface.OnDismissListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int which) {
|
||||
public void onDismiss(DialogInterface dialog) {
|
||||
((CheckBoxPreference) findPreference("autofill_enable"))
|
||||
.setChecked(((UserPreference) getActivity()).isServiceEnabled());
|
||||
}
|
||||
}).show();
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue