mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Small behavior improvement
This commit is contained in:
parent
98c28d2fc8
commit
2cbd9ec705
1 changed files with 3 additions and 2 deletions
|
@ -411,15 +411,16 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
|||
|
||||
cbNotAgainType.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean isChecked) {
|
||||
prefs.edit().putBoolean(extension + ".confirm_files", false).apply();
|
||||
}
|
||||
});
|
||||
|
||||
cbNotAgain.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean b) {
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean isChecked) {
|
||||
prefs.edit().putBoolean("confirm_files", false).apply();
|
||||
cbNotAgainType.setEnabled(!isChecked);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue