Fix attachment menu animation order

This commit is contained in:
p_0g_8mm3_ 2021-08-05 00:00:12 +02:00 committed by GitHub
parent 2e4750a0ab
commit f64366e3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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