mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 03:16:02 +03:00
Merge pull request #3793 from pr0gr8mm3r/patch-1
Fix attachment menu animation order
This commit is contained in:
commit
ecbf8739cd
2 changed files with 5 additions and 4 deletions
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)
|
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 a new issue