forked from organicmaps/organicmaps
fix theme subtitle not updating
Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
parent
b65e4cfa30
commit
4da1ac38c4
1 changed files with 2 additions and 0 deletions
|
@ -400,6 +400,8 @@ public class SettingsPrefsFragment extends BaseXmlSettingsFragment implements La
|
|||
pref.setSummary(pref.getEntry());
|
||||
pref.setOnPreferenceChangeListener((preference, newValue) -> {
|
||||
final String themeName = (String) newValue;
|
||||
pref.setValue(themeName);
|
||||
pref.setSummary(pref.getEntry());
|
||||
if (!Config.setThemeSettings(requireContext(), themeName))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue