Fix fab appearing after closing cover expand when no chapters are unread
This commit is contained in:
parent
877adee4f7
commit
1699c2ed67
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue