incyclist-services 1.7.106 → 1.7.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,8 +99,6 @@ let RideSettingsDisplayService = (() => {
99
99
  getRideView() {
100
100
  if (this.isRestricted())
101
101
  return 'map';
102
- if (this.isMobile() && !this.isAndroid())
103
- return 'map';
104
102
  const rideView = this.getUserSettings().get('preferences.rideView', 'sv');
105
103
  return rideView;
106
104
  }
@@ -110,8 +108,7 @@ let RideSettingsDisplayService = (() => {
110
108
  map.set('map', 'Map');
111
109
  return map;
112
110
  }
113
- if (!this.isIOS())
114
- map.set('sv', 'Street View');
111
+ map.set('sv', 'Street View');
115
112
  map.set('map', 'Map');
116
113
  if (!this.isMobile())
117
114
  map.set('sat', 'Satellite View');
@@ -96,8 +96,6 @@ let RideSettingsDisplayService = (() => {
96
96
  getRideView() {
97
97
  if (this.isRestricted())
98
98
  return 'map';
99
- if (this.isMobile() && !this.isAndroid())
100
- return 'map';
101
99
  const rideView = this.getUserSettings().get('preferences.rideView', 'sv');
102
100
  return rideView;
103
101
  }
@@ -107,8 +105,7 @@ let RideSettingsDisplayService = (() => {
107
105
  map.set('map', 'Map');
108
106
  return map;
109
107
  }
110
- if (!this.isIOS())
111
- map.set('sv', 'Street View');
108
+ map.set('sv', 'Street View');
112
109
  map.set('map', 'Map');
113
110
  if (!this.isMobile())
114
111
  map.set('sat', 'Satellite View');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.7.106",
3
+ "version": "1.7.107",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.27"
6
6
  },