fix types
This commit is contained in:
parent
9f80713498
commit
f33d099dd0
1 changed files with 4 additions and 4 deletions
|
@ -266,7 +266,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
|||
|
||||
public void switchRotateMapMode(){
|
||||
//int resId = R.string.rotate_map_none_opt;
|
||||
String rotMode = R.string.rotate_map_none_opt;
|
||||
String rotMode = getString(R.string.rotate_map_none_opt);
|
||||
if (settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_NONE && mapView.getRotate() != 0) {
|
||||
// reset manual rotation
|
||||
} else {
|
||||
|
@ -275,14 +275,14 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
|||
|
||||
if (settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_COMPASS) {
|
||||
//resId = R.string.rotate_map_compass_opt;
|
||||
rotMode = R.string.rotate_map_compass_opt;
|
||||
rotMode = getString(R.string.rotate_map_compass_opt);
|
||||
} else if (settings.ROTATE_MAP.get() == OsmandSettings.ROTATE_MAP_BEARING) {
|
||||
//resId = R.string.rotate_map_bearing_opt;
|
||||
rotMode = R.string.rotate_map_bearing_opt;
|
||||
rotMode = getString(R.string.rotate_map_bearing_opt);
|
||||
}
|
||||
}
|
||||
//app.showShortToastMessage(resId);
|
||||
rotMode = R.string.rotate_map_to_bearing + ":\n" + rotMode;
|
||||
rotMode = getString(R.string.rotate_map_to_bearing) + ":\n" + rotMode;
|
||||
app.showToastMessage(rotMode);
|
||||
updateSettings();
|
||||
if(mapView != null) {
|
||||
|
|
Loading…
Reference in a new issue