@sumaris-net/ngx-components 2.4.159 → 2.4.160
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.
- package/esm2020/src/app/core/services/local-settings.service.mjs +2 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +1 -1
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -14107,7 +14107,7 @@ class LocalSettingsService extends StartableService {
|
|
|
14107
14107
|
return this._data && this._data.latLongFormat || 'DDMM';
|
|
14108
14108
|
}
|
|
14109
14109
|
get usageMode() {
|
|
14110
|
-
return isNotNil(this._data.usageMode) ? this._data.usageMode :
|
|
14110
|
+
return isNotNil(this._data.usageMode) ? this._data.usageMode : isCapacitor(window) && isMobile(window) ? 'FIELD' : 'DESK';
|
|
14111
14111
|
}
|
|
14112
14112
|
get mobile() {
|
|
14113
14113
|
return isNotNil(this._data.mobile) ? this._data.mobile : isMobile(window);
|