mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Update editing animation.
This commit is contained in:
committed by
Greyson Parrelli
parent
fa487e1885
commit
bd3ab2cc38
@@ -1746,35 +1746,35 @@ class ConversationFragment :
|
||||
inputPanel.isRecordingInLockedMode -> {
|
||||
buttonToggle.display(sendButton)
|
||||
quickAttachment.show()
|
||||
inlineAttachment.hide()
|
||||
inlineAttachment.hide(true)
|
||||
}
|
||||
|
||||
inputPanel.inEditMessageMode() -> {
|
||||
buttonToggle.display(sendEditButton)
|
||||
quickAttachment.hide()
|
||||
inlineAttachment.hide()
|
||||
quickAttachment.hide(false)
|
||||
inlineAttachment.hide(false)
|
||||
}
|
||||
|
||||
draftViewModel.voiceNoteDraft != null -> {
|
||||
buttonToggle.display(sendButton)
|
||||
quickAttachment.hide()
|
||||
inlineAttachment.hide()
|
||||
quickAttachment.hide(true)
|
||||
inlineAttachment.hide(true)
|
||||
}
|
||||
|
||||
composeText.text.isNullOrBlank() && !attachmentManager.isAttachmentPresent -> {
|
||||
buttonToggle.display(binding.conversationInputPanel.attachButton)
|
||||
quickAttachment.show()
|
||||
inlineAttachment.hide()
|
||||
inlineAttachment.hide(true)
|
||||
}
|
||||
|
||||
else -> {
|
||||
buttonToggle.display(sendButton)
|
||||
quickAttachment.hide()
|
||||
quickAttachment.hide(true)
|
||||
|
||||
if (!attachmentManager.isAttachmentPresent && !linkPreviewViewModel.hasLinkPreviewUi) {
|
||||
inlineAttachment.show()
|
||||
} else {
|
||||
inlineAttachment.hide()
|
||||
inlineAttachment.hide(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user