Skip to content

Commit a357fff

Browse files
committed
chore: refactor
1 parent 5426539 commit a357fff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/gesturehandler/gesturehandler.android.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ export { GestureState, GestureHandlerStateEvent, GestureHandlerTouchEvent, Gestu
3535

3636
let PageLayout: typeof com.nativescript.gesturehandler.PageLayout;
3737
class PageGestureExtended extends Page {
38-
nativeView: com.nativescript.gesturehandler.PageLayout;
38+
nativeViewProtected: com.nativescript.gesturehandler.PageLayout;
3939
initNativeView() {
40-
this.nativeView.initialize();
40+
this.nativeViewProtected.initialize();
4141
}
4242
disposeNativeView() {
43-
this.nativeView.tearDown();
43+
this.nativeViewProtected.tearDown();
4444
}
4545
get registry() {
46-
return this.nativeView && this.nativeView.registry();
46+
return this.nativeViewProtected && this.nativeViewProtected.registry();
4747
}
4848
}
4949
let installed = false;

0 commit comments

Comments
 (0)