Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ class MessageInputFragment : Fragment() {
if (mentionAutocomplete != null && mentionAutocomplete!!.isPopupShowing) {
mentionAutocomplete?.dismissPopup()
}

val messageText = binding.fragmentMessageInputView.messageInput.text
if (messageText.isNotEmpty()) {
chatActivity.chatViewModel.messageDraft.messageText = messageText.toString()
chatActivity.chatViewModel.saveMessageDraft()
}
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
Expand Down Expand Up @@ -331,7 +337,6 @@ class MessageInputFragment : Fragment() {

override fun onSuccess(result: Drawable) {
binding.fragmentCallStarted.callAuthorChip.chipIcon = result

}
})
.build()
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ android.newDsl=false

# Needed for local libs
# org.gradle.dependency.verification=lenient

# Enabled parallel sync for Gradle 9.4+
org.gradle.tooling.parallel=true
Loading