mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-01 06:47:56 +01:00
Fix bottom nav being visible when resuming app (fixes #6012)
This commit is contained in:
@@ -89,7 +89,7 @@ class TachiyomiBottomNavigationView @JvmOverloads constructor(
|
||||
*
|
||||
* @param animate True if slide up should be animated
|
||||
*/
|
||||
fun slideUp(animate: Boolean = true) {
|
||||
fun slideUp(animate: Boolean = true) = post {
|
||||
currentAnimator?.cancel()
|
||||
clearAnimation()
|
||||
|
||||
@@ -106,7 +106,7 @@ class TachiyomiBottomNavigationView @JvmOverloads constructor(
|
||||
*
|
||||
* @param animate True if slide down should be animated
|
||||
*/
|
||||
fun slideDown(animate: Boolean = true) {
|
||||
fun slideDown(animate: Boolean = true) = post {
|
||||
currentAnimator?.cancel()
|
||||
clearAnimation()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user