Fixed a preference list dialog crash

This commit is contained in:
Prathamesh More 2021-09-23 11:24:19 +05:30
parent 381e112dac
commit 7b984108ab

View file

@ -57,8 +57,8 @@ public class ATEListPreferenceDialogFragmentCompat extends ATEPreferenceDialogFr
mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue());
builder.setSingleChoiceItems(preference.getEntries(), mClickedDialogEntryIndex, (dialog, which) -> {
mClickedDialogEntryIndex = which;
onClick(dialog, which);
dismiss();
onClick(dialog, which);
});
/*