Skip to content

Commit 52d5bd6

Browse files
DanielMSchmidtrotemmiz
authored andcommitted
add generation for tap at location (#449)
1 parent cf20cdd commit 52d5bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detox/src/android/expect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class TapAction extends Action {
3838
class TapAtPointAction extends Action {
3939
constructor(value) {
4040
super();
41-
this._call = invoke.call(invoke.Android.Class(DetoxAction), 'tapAtLocation', invoke.Android.Integer(value.x), invoke.Android.Integer(value.y));
41+
this._call = invoke.callDirectly(DetoxActionApi.tapAtLocation(value.x, value.y));
4242
}
4343
}
4444

0 commit comments

Comments
 (0)