[fenix] https://github.com/mozilla-mobile/fenix/pull/8085 removed findViewById with actual id

pull/600/head
Marc Leclair 5 years ago committed by Jeff Boek
parent 06587df3da
commit ee51e9931c

@ -831,8 +831,7 @@ class HomeFragment : Fragment() {
}
private fun calculateNewOffset() {
homeAppBarOffset = ((view!!.findViewById<AppBarLayout>(R.id.homeAppBar)
.layoutParams as CoordinatorLayout.LayoutParams)
homeAppBarOffset = ((homeAppBar.layoutParams as CoordinatorLayout.LayoutParams)
.behavior as AppBarLayout.Behavior).topAndBottomOffset
}

Loading…
Cancel
Save