mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-09 19:10:42 +00:00
#8085 removed findViewById with actual id
This commit is contained in:
parent
9fc5a1b0fe
commit
afab1c0f4e
@ -831,8 +831,7 @@ class HomeFragment : Fragment() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun calculateNewOffset() {
|
private fun calculateNewOffset() {
|
||||||
homeAppBarOffset = ((view!!.findViewById<AppBarLayout>(R.id.homeAppBar)
|
homeAppBarOffset = ((homeAppBar.layoutParams as CoordinatorLayout.LayoutParams)
|
||||||
.layoutParams as CoordinatorLayout.LayoutParams)
|
|
||||||
.behavior as AppBarLayout.Behavior).topAndBottomOffset
|
.behavior as AppBarLayout.Behavior).topAndBottomOffset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user