Merge pull request #3793 from pr0gr8mm3r/patch-1
Fix attachment menu animation order
This commit is contained in:
commit
ecbf8739cd
|
@ -0,0 +1 @@
|
||||||
|
Fix order in which the items of the attachement menu appear
|
|
@ -103,11 +103,11 @@ class AttachmentTypeSelectorView(context: Context,
|
||||||
animateWindowInCircular(anchor, contentView)
|
animateWindowInCircular(anchor, contentView)
|
||||||
}
|
}
|
||||||
animateButtonIn(views.attachmentGalleryButton, ANIMATION_DURATION / 2)
|
animateButtonIn(views.attachmentGalleryButton, ANIMATION_DURATION / 2)
|
||||||
animateButtonIn(views.attachmentCameraButton, ANIMATION_DURATION / 2)
|
animateButtonIn(views.attachmentCameraButton, ANIMATION_DURATION / 4)
|
||||||
animateButtonIn(views.attachmentFileButton, ANIMATION_DURATION / 4)
|
animateButtonIn(views.attachmentFileButton, ANIMATION_DURATION / 2)
|
||||||
animateButtonIn(views.attachmentAudioButton, ANIMATION_DURATION / 2)
|
animateButtonIn(views.attachmentAudioButton, 0)
|
||||||
animateButtonIn(views.attachmentContactButton, ANIMATION_DURATION / 4)
|
animateButtonIn(views.attachmentContactButton, ANIMATION_DURATION / 4)
|
||||||
animateButtonIn(views.attachmentStickersButton, 0)
|
animateButtonIn(views.attachmentStickersButton, ANIMATION_DURATION / 2)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun dismiss() {
|
override fun dismiss() {
|
||||||
|
|
Loading…
Reference in New Issue