Skip to content

Commit

Permalink
fix incorrect displaying of selected image searcher
Browse files Browse the repository at this point in the history
  • Loading branch information
DalvEsrever committed May 30, 2023
1 parent 2c50160 commit ff8e7b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private void prefs() {
}

var adapter = new ImagineArrayAdapter(requireContext(), Arrays.asList(items));
adapter.setSelected(SearchEngine.getDefaultSearchEngine());
adapter.setSelected(SearchEngine.getDefaultSearchEngine() + 1);

new VkAlertDialog.Builder(getActivity())
.setAdapter(adapter, (di, i) -> {
Expand Down

0 comments on commit ff8e7b7

Please sign in to comment.