remove unnecessary changes
This commit is contained in:
parent
d4bbebda49
commit
526f763224
1 changed files with 7 additions and 2 deletions
|
@ -316,13 +316,18 @@ class MyLocationTabFragment : Fragment(), TelegramListener {
|
|||
playTogether(cornerAnimator, marginAnimator)
|
||||
addListener(object : AnimatorListenerAdapter() {
|
||||
override fun onAnimationEnd(animation: Animator?) {
|
||||
adjustAppbar()
|
||||
updateTitleTextColor()
|
||||
if (appBarCollapsed && Build.VERSION.SDK_INT >= 21) {
|
||||
appBarLayout.outlineProvider = appBarOutlineProvider
|
||||
}
|
||||
}
|
||||
})
|
||||
start()
|
||||
}
|
||||
|
||||
adjustAppbar()
|
||||
if (!appBarCollapsed && Build.VERSION.SDK_INT >= 21) {
|
||||
appBarLayout.outlineProvider = null
|
||||
}
|
||||
}
|
||||
|
||||
private fun updateTitleTextColor() {
|
||||
|
|
Loading…
Reference in a new issue