mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
Ensure enable autofill checkbox appearance matches setting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user