mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Lower fade out duration of chat pill to 150ms.
This commit is contained in:
committed by
Greyson Parrelli
parent
f387785a46
commit
98dfd5bfbf
@@ -171,11 +171,11 @@ class ConversationListFilterPullView @JvmOverloads constructor(
|
||||
private fun animatePillOut() {
|
||||
pillAnimator?.cancel()
|
||||
pillAnimator = ObjectAnimator.ofFloat(binding.filterText, ALPHA, 0f).apply {
|
||||
duration = 300
|
||||
duration = 150
|
||||
doOnEnd {
|
||||
binding.filterText.visibility = GONE
|
||||
binding.filterText.isEnabled = false
|
||||
setState(FilterPullState.CLOSED)
|
||||
postDelayed({ setState(FilterPullState.CLOSED) }, 150)
|
||||
}
|
||||
start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user