mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-18 19:19:33 +01:00
No longer does edit button overlap the recordAudioButton
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
parent
bd720b8261
commit
d46f2488a7
@ -160,10 +160,6 @@ class MessageInputFragment : Fragment() {
|
||||
saveState()
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
}
|
||||
|
||||
override fun onDestroyView() {
|
||||
super.onDestroyView()
|
||||
if (mentionAutocomplete != null && mentionAutocomplete!!.isPopupShowing) {
|
||||
@ -470,7 +466,9 @@ class MessageInputFragment : Fragment() {
|
||||
}
|
||||
binding.fragmentMessageInputView.inputEditText.doAfterTextChanged {
|
||||
binding.fragmentMessageInputView.recordAudioButton.visibility =
|
||||
if (binding.fragmentMessageInputView.inputEditText.text.isEmpty()) View.VISIBLE else View.GONE
|
||||
if (binding.fragmentMessageInputView.inputEditText.text.isEmpty() &&
|
||||
chatActivity.messageInputViewModel.getEditChatMessage.value == null
|
||||
) View.VISIBLE else View.GONE
|
||||
|
||||
binding.fragmentMessageInputView.messageSendButton.visibility =
|
||||
if (binding.fragmentMessageInputView.inputEditText.text.isEmpty() ||
|
||||
|
Loading…
Reference in New Issue
Block a user