diff --git a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt index 5b593bcd7..905290b48 100644 --- a/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt +++ b/app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt @@ -271,7 +271,7 @@ class FeedFragment : BaseStateFragment() { override fun onDestroyView() { // Ensure that all animations are canceled - feedBinding.newItemsLoadedButton?.clearAnimation() + tryGetNewItemsLoadedButton()?.clearAnimation() feedBinding.itemsList.adapter = null _feedBinding = null