Restore alpha of the indicators to 1 incase the animation completion handler doesn't get called. Fixes #3156

This commit is contained in:
Maurice Parker 2021-06-23 03:24:23 -05:00
parent 86ca397221
commit c2413cda37
1 changed files with 3 additions and 1 deletions

View File

@ -229,6 +229,7 @@ private extension MasterTimelineTableViewCell {
} }
unreadIndicatorPropertyAnimator?.startAnimation() unreadIndicatorPropertyAnimator?.startAnimation()
} else { } else {
unreadIndicatorView.alpha = 1
showOrHideView(unreadIndicatorView, cellData.read || cellData.starred) showOrHideView(unreadIndicatorView, cellData.read || cellData.starred)
} }
} }
@ -245,6 +246,7 @@ private extension MasterTimelineTableViewCell {
} }
starViewPropertyAnimator?.startAnimation() starViewPropertyAnimator?.startAnimation()
} else { } else {
starView.alpha = 1
showOrHideView(starView, !cellData.starred) showOrHideView(starView, !cellData.starred)
} }
} }