mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Merge pull request #3793 from pr0gr8mm3r/patch-1
Fix attachment menu animation order
This commit is contained in:
commit
ecbf8739cd
1
changelog.d/3793.bugfix
Normal file
1
changelog.d/3793.bugfix
Normal file
@ -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)
|
||||
}
|
||||
animateButtonIn(views.attachmentGalleryButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentCameraButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentFileButton, ANIMATION_DURATION / 4)
|
||||
animateButtonIn(views.attachmentAudioButton, ANIMATION_DURATION / 2)
|
||||
animateButtonIn(views.attachmentCameraButton, ANIMATION_DURATION / 4)
|
||||
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
Block a user