Fix attachment menu animation order
This commit is contained in:
parent
2e4750a0ab
commit
f64366e3ff
|
@ -102,12 +102,12 @@ class AttachmentTypeSelectorView(context: Context,
|
|||
contentView.doOnNextLayout {
|
||||
animateWindowInCircular(anchor, contentView)
|
||||
}
|
||||
animateButtonIn(views.attachmentGalleryButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentGalleryButton, ANIMATION_DURATION / 4)
|
||||
animateButtonIn(views.attachmentCameraButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentFileButton, ANIMATION_DURATION / 4)
|
||||
animateButtonIn(views.attachmentAudioButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentFileButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentAudioButton, 0)
|
||||
animateButtonIn(views.attachmentContactButton, ANIMATION_DURATION / 4)
|
||||
animateButtonIn(views.attachmentStickersButton, 0)
|
||||
animateButtonIn(views.attachmentStickersButton, ANIMATION_DURATION / 2)
|
||||
}
|
||||
|
||||
override fun dismiss() {
|
||||
|
|
Loading…
Reference in New Issue