Fix fab appearing after closing cover expand when no chapters are unread
This commit is contained in:
parent
877adee4f7
commit
1699c2ed67
@ -928,14 +928,14 @@ class MangaController :
|
||||
override fun onAnimationEnd(animation: Animator) {
|
||||
thumbView.alpha = 1f
|
||||
binding.expandedImage.isVisible = false
|
||||
actionFab?.isVisible = true
|
||||
actionFab?.isVisible = presenter.filteredAndSortedChapters.any { !it.read }
|
||||
currentAnimator = null
|
||||
}
|
||||
|
||||
override fun onAnimationCancel(animation: Animator) {
|
||||
thumbView.alpha = 1f
|
||||
binding.expandedImage.isVisible = false
|
||||
actionFab?.isVisible = true
|
||||
actionFab?.isVisible = presenter.filteredAndSortedChapters.any { !it.read }
|
||||
currentAnimator = null
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user