mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 14:02:44 +00:00
Fix incorrect alert dialog behavior when dismissing (#420)
This commit is contained in:
parent
0c804fb7c3
commit
27477fe002
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ public final class CorrectionSettingsFragment extends SubScreenFragment
|
|||
.setMessage(R.string.disable_personalized_dicts_message)
|
||||
.setNegativeButton(android.R.string.cancel, (dialogInterface, i) -> ((TwoStatePreference) findPreference(key)).setChecked(true))
|
||||
.setPositiveButton(android.R.string.ok, null)
|
||||
.setOnCancelListener(dialogInterface -> ((TwoStatePreference) findPreference(key)).setChecked(true))
|
||||
.show();
|
||||
}
|
||||
refreshEnabledSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue