Made `hideNewItemsLoaded` more null safe

This commit is contained in:
litetex
2021-11-15 20:22:19 +01:00
parent 1b2b3a4f88
commit 2310e8c1d6
@@ -640,7 +640,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
execOnEnd = {
// Make the layout invisible so that the onScroll toTop method
// only does necessary work
feedBinding.newItemsLoadedLayout.isVisible = false
feedBinding?.newItemsLoadedLayout?.isVisible = false
}
)
} else {