Fixed a preference list dialog crash
This commit is contained in:
parent
381e112dac
commit
7b984108ab
1 changed files with 1 additions and 1 deletions
|
@ -57,8 +57,8 @@ public class ATEListPreferenceDialogFragmentCompat extends ATEPreferenceDialogFr
|
||||||
mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue());
|
mClickedDialogEntryIndex = preference.findIndexOfValue(preference.getValue());
|
||||||
builder.setSingleChoiceItems(preference.getEntries(), mClickedDialogEntryIndex, (dialog, which) -> {
|
builder.setSingleChoiceItems(preference.getEntries(), mClickedDialogEntryIndex, (dialog, which) -> {
|
||||||
mClickedDialogEntryIndex = which;
|
mClickedDialogEntryIndex = which;
|
||||||
onClick(dialog, which);
|
|
||||||
dismiss();
|
dismiss();
|
||||||
|
onClick(dialog, which);
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue