Skip to content

Commit

Permalink
fix(android): child argument types in addView methods (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
szydlovsky authored Aug 19, 2024
1 parent 1e61a59 commit 993928c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class PagerViewViewManager : ViewGroupManager<NestedScrollableHost>(), RNCViewPa
return host
}

override fun addView(host: NestedScrollableHost, child: View?, index: Int) {
override fun addView(host: NestedScrollableHost, child: View, index: Int) {
PagerViewViewManagerImpl.addView(host, child, index)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class PagerViewViewManager : ViewGroupManager<NestedScrollableHost>() {
return host
}

override fun addView(host: NestedScrollableHost, child: View?, index: Int) {
override fun addView(host: NestedScrollableHost, child: View, index: Int) {
PagerViewViewManagerImpl.addView(host, child, index)
}

Expand Down

0 comments on commit 993928c

Please sign in to comment.