diff --git a/app/src/main/java/org/linphone/activities/main/chat/fragments/DetailChatRoomFragment.kt b/app/src/main/java/org/linphone/activities/main/chat/fragments/DetailChatRoomFragment.kt index eef84074f..c9711e89a 100644 --- a/app/src/main/java/org/linphone/activities/main/chat/fragments/DetailChatRoomFragment.kt +++ b/app/src/main/java/org/linphone/activities/main/chat/fragments/DetailChatRoomFragment.kt @@ -646,7 +646,7 @@ class DetailChatRoomFragment : MasterFragment + binding.setVoiceRecordingTouchListener { view, event -> if (corePreferences.holdToRecordVoiceMessage) { when (event.action) { MotionEvent.ACTION_DOWN -> { @@ -663,14 +663,14 @@ class DetailChatRoomFragment : MasterFragment + xmlns:tools="http://schemas.android.com/tools" + xmlns:app="http://schemas.android.com/apk/res-auto"> @@ -148,225 +148,17 @@ android:layout_alignTop="@id/top_bar" tools:layout="@layout/list_edit_top_bar_fragment" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + app:viewModel="@{viewModel}" + app:chatSendingViewModel="@{chatSendingViewModel}" + app:attachFileClickListener="@{attachFileClickListener}" + app:voiceRecordingTouchListener="@{voiceRecordingTouchListener}" + app:cancelReplyToClickListener="@{cancelReplyToClickListener}"/> + android:visibility="@{viewModel.remoteIsComposing ? View.VISIBLE : View.GONE, default=gone}" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file