Show appMode in navigation menu title even for dismiss button
This commit is contained in:
parent
58002ed4ed
commit
9ecf913283
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue