fix color palette dialog title

This commit is contained in:
sk 2023-10-06 17:00:09 +02:00
parent 7c8624bd53
commit f86d60be23
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public class SettingsDisplayFragment extends BaseSettingsFragment<Void>{
int[] newSelected={selected}; int[] newSelected={selected};
String[] names=Arrays.stream(ColorPreference.values()).map(ColorPreference::getName).map(this::getString).toArray(String[]::new); String[] names=Arrays.stream(ColorPreference.values()).map(ColorPreference::getName).map(this::getString).toArray(String[]::new);
new M3AlertDialogBuilder(getActivity()) new M3AlertDialogBuilder(getActivity())
.setTitle(R.string.settings_theme) .setTitle(R.string.sk_settings_color_palette)
.setSingleChoiceItems(names, .setSingleChoiceItems(names,
selected, (dlg, item)->newSelected[0]=item) selected, (dlg, item)->newSelected[0]=item)
.setPositiveButton(R.string.ok, (dlg, item)->{ .setPositiveButton(R.string.ok, (dlg, item)->{