Skip to content

Commit

Permalink
Merge pull request #1503 from michaelschattgen/fix/locale-marshmallow
Browse files Browse the repository at this point in the history
Fix visibility of locale setting on Marshmallow
  • Loading branch information
alexbakker authored Sep 24, 2024
2 parents c559ed9 + 45831e1 commit 24d3d0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
});

Preference langPreference = requirePreference("pref_lang");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.M) {
String[] langs = getResources().getStringArray(R.array.pref_lang_values);
String[] langNames = getResources().getStringArray(R.array.pref_lang_entries);
List<String> langList = Arrays.asList(langs);
Expand Down

0 comments on commit 24d3d0a

Please sign in to comment.