chore(): fix CordovaInstanceProperty decorator (#2655)
This manifests in many plugins just not quite working right.
This commit is contained in:
parent
9e923fa8da
commit
fe87b68ccc
@ -6,7 +6,7 @@ export function instancePropertyGet(pluginObj: any, key: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function instancePropertySet(pluginObj: any, key: string, value: any) {
|
export function instancePropertySet(pluginObj: any, key: string, value: any) {
|
||||||
if (pluginObj._objectInstance && pluginObj._objectInstance[key]) {
|
if (pluginObj._objectInstance) {
|
||||||
pluginObj._objectInstance[key] = value;
|
pluginObj._objectInstance[key] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user