fix color palette dialog title
This commit is contained in:
parent
7c8624bd53
commit
f86d60be23
|
@ -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)->{
|
||||||
|
|
Loading…
Reference in New Issue