revert duplicate fix
This commit is contained in:
parent
75bf853819
commit
ddda0b3507
1 changed files with 3 additions and 2 deletions
|
@ -139,7 +139,8 @@ public class OsmandMonitoringPlugin extends OsmandPlugin implements MonitoringIn
|
||||||
cat = new PreferenceCategory(activity);
|
cat = new PreferenceCategory(activity);
|
||||||
cat.setTitle(R.string.monitor_preferences);
|
cat.setTitle(R.string.monitor_preferences);
|
||||||
|
|
||||||
((PreferenceScreen) screen.findPreference(SettingsActivity.SCREEN_ID_GENERAL_SETTINGS)).addPreference(cat);
|
PreferenceScreen generalSection = ((PreferenceScreen) screen.findPreference(SettingsActivity.SCREEN_ID_GENERAL_SETTINGS));
|
||||||
|
generalSection.addPreference(cat);
|
||||||
cat.addPreference(activity.createEditTextPreference(settings.LIVE_MONITORING_URL, R.string.live_monitoring_url,
|
cat.addPreference(activity.createEditTextPreference(settings.LIVE_MONITORING_URL, R.string.live_monitoring_url,
|
||||||
R.string.live_monitoring_url_descr));
|
R.string.live_monitoring_url_descr));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue