fix build
This commit is contained in:
parent
55d617ae6e
commit
1a9d8ffb2e
1 changed files with 2 additions and 2 deletions
|
@ -471,7 +471,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
||||||
updateApplicationDirTextAndSummary();
|
updateApplicationDirTextAndSummary();
|
||||||
|
|
||||||
applicationModePreference.setTitle(getString(R.string.settings_preset) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]");
|
applicationModePreference.setTitle(getString(R.string.settings_preset) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]");
|
||||||
dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DayNightMode.toHumanStrings(osmandSettings.DAYNIGHT_MODE.get()) + "]");
|
dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DayNightMode.toHumanStrings(DAYNIGHT_MODE.get()) + "]");
|
||||||
routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]");
|
routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -578,7 +578,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
|
||||||
finish();
|
finish();
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
} else if (listPref.getId().equals(osmandSettings.DAYNIGHT_MODE.getId())) {
|
} else if (listPref.getId().equals(osmandSettings.DAYNIGHT_MODE.getId())) {
|
||||||
dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DayNightMode.toHumanStrings(osmandSettings.DAYNIGHT_MODE.get()) + "]");
|
dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DayNightMode.toHumanStrings(DAYNIGHT_MODE.get()) + "]");
|
||||||
} else if (listPref.getId().equals(osmandSettings.ROUTER_SERVICE.getId())) {
|
} else if (listPref.getId().equals(osmandSettings.ROUTER_SERVICE.getId())) {
|
||||||
routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]");
|
routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue