From b9fe0103277c0aa9dd0b40c7cb5df1b7f95c97b4 Mon Sep 17 00:00:00 2001 From: sonora Date: Thu, 23 Feb 2012 23:13:23 +0100 Subject: [PATCH] fix parentheses --- .../net/osmand/plus/activities/SettingsActivity.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java index da32baae84..6ab5faaed1 100644 --- a/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java @@ -486,14 +486,14 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference dayNightModePreference.setSummary(getString(R.string.daynight_descr) + " [" + osmandSettings.DAYNIGHT_MODE.get().toHumanString(this) + "]"); routerServicePreference.setSummary(getString(R.string.router_service_descr) + " [" + osmandSettings.ROUTER_SERVICE.get() + "]"); - PreferenceScreen screen = getPreferenceScreen() - if (screen.getTitle().startsWith(getString(R.string.rendering_settings)) { + PreferenceScreen screen = getPreferenceScreen(); + if (screen.getTitle().startsWith(getString(R.string.rendering_settings))) { screen.setTitle(getString(R.string.rendering_settings) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]"); - } else if (screen.getTitle().startsWith(getString(R.string.appearance_settings)) { + } else if (screen.getTitle().startsWith(getString(R.string.appearance_settings))) { screen.setTitle(getString(R.string.appearance_settings) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]"); - } else if (screen.getTitle().startsWith(getString(R.string.monitor_settings)) { + } else if (screen.getTitle().startsWith(getString(R.string.monitor_settings))) { screen.setTitle(getString(R.string.monitor_settings) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]"); - } else if (screen.getTitle().startsWith(getString(R.string.routing_settings)) { + } else if (screen.getTitle().startsWith(getString(R.string.routing_settings))) { screen.setTitle(getString(R.string.routing_settings) + " [" + ApplicationMode.toHumanString(osmandSettings.APPLICATION_MODE.get(), this) + "]"); } }