Show appMode in navigation menu title even for dismiss button

This commit is contained in:
sonora 2012-08-29 12:16:46 +02:00
parent 58002ed4ed
commit 9ecf913283
2 changed files with 2 additions and 2 deletions

View file

@ -672,7 +672,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
});
}
}
scrDialog.setTitle(tlt);
scrDialog.setTitle(tlt + " [" + appMode +"] ");
scr.getDialog().setOnDismissListener(new OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {

View file

@ -483,7 +483,7 @@ public class MapInfoLayer extends OsmandMapLayer {
final ArrayList<Object> list = new ArrayList<Object>();
String appMode = settings.getApplicationMode().toHumanString(view.getContext());
list.add(map.getString(R.string.map_widget_reset) + " (" + appMode +") ");
list.add(map.getString(R.string.map_widget_reset) + " [" + appMode +"] ");
list.add(map.getString(R.string.map_widget_top_stack));
list.addAll(mapInfoControls.getTop());
list.add(map.getString(R.string.map_widget_right_stack));