We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edcf001 commit ae0fc79Copy full SHA for ae0fc79
src/ui-carto/ui/index.common.ts
@@ -37,7 +37,7 @@ export interface MapPropertyOptions {
37
}
38
39
function createGetter(key: string, options: MapPropertyOptions) {
40
- const nativeGetterName = ((global.isAndroid ? options.android : options.ios) || options).nativeGetterName || 'get' + key.charAt(0).toUpperCase() + key.slice(1);
+ const nativeGetterName = ((__ANDROID__ ? options.android : options.ios) || options).nativeGetterName || 'get' + key.charAt(0).toUpperCase() + key.slice(1);
41
const getConverter = options.getConverter;
42
return function () {
43
let result;
0 commit comments