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 651e5a8 commit 9a3e727Copy full SHA for 9a3e727
src/wrapper.android.ts
@@ -388,8 +388,8 @@ export namespace NATIVE {
388
}
389
Object.keys(otherOptions).forEach(k => {
390
const methodName = `set${capitalize(k)}`;
391
- if (typeof config[methodName] === 'function') {
392
- const value = otherOptions[k];
+ const value = otherOptions[k];
+ if (value && typeof config[methodName] === 'function') {
393
if (typeof value === 'number') {
394
config[methodName](java.lang.Double.valueOf(value));
395
0 commit comments