Small behavior improvement

pull/212/head
M66B 2 years ago
parent 98c28d2fc8
commit 2cbd9ec705

@ -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…
Cancel
Save