Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Commit b622b3d

Browse files
authored
Merge pull request #71 from vonovak/patch-1
do not access private animated api
2 parents d4fad15 + 91b98e8 commit b622b3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class SafeView extends Component {
184184

185185
const { width: WIDTH, height: HEIGHT } = getResolvedDimensions();
186186

187-
this.view._component.measureInWindow((winX, winY, winWidth, winHeight) => {
187+
this.view.getNode().measureInWindow((winX, winY, winWidth, winHeight) => {
188188
if (!this.view) {
189189
return;
190190
}

0 commit comments

Comments
 (0)