Skip to content

Commit 3f2b376

Browse files
committed
fix: improve mangling support
1 parent 43147a7 commit 3f2b376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/canvas.android.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class ProxyClass<T> {
138138
const methodName = name;
139139
for (let index = 0; index < args.length; index++) {
140140
const element = args[index];
141-
if (element && element.mNative) {
141+
if (element && element.getNative) {
142142
args[index] = element.getNative();
143143
} else if (Array.isArray(element)) {
144144
args[index] = arrayToNativeArray(element);

0 commit comments

Comments
 (0)