remove unnecessary changes

This commit is contained in:
Chumva 2018-08-02 16:35:32 +03:00
parent d4bbebda49
commit 526f763224

View file

@ -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() {