From 23100962e356d299f999a7c766580ac3a17e9fc7 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 2 Jun 2021 10:12:49 +1000 Subject: [PATCH] Clean --- .../securesms/conversation/v2/messages/QuoteView.kt | 2 +- .../securesms/conversation/v2/messages/VoiceMessageView.kt | 2 +- app/src/main/res/layout/view_visible_message.xml | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt index 36508c94b7..d13391113b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/QuoteView.kt @@ -24,7 +24,7 @@ class QuoteView : LinearLayout { } private fun setUpViewHierarchy() { - LayoutInflater.from(context).inflate(R.layout.view_link_preview, this) + LayoutInflater.from(context).inflate(R.layout.view_quote, this) } // endregion diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VoiceMessageView.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VoiceMessageView.kt index a04c429ac9..6a999f30f7 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VoiceMessageView.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/messages/VoiceMessageView.kt @@ -24,7 +24,7 @@ class VoiceMessageView : LinearLayout { } private fun setUpViewHierarchy() { - LayoutInflater.from(context).inflate(R.layout.view_document, this) + LayoutInflater.from(context).inflate(R.layout.view_voice_message, this) } // endregion diff --git a/app/src/main/res/layout/view_visible_message.xml b/app/src/main/res/layout/view_visible_message.xml index 7cf579d17c..758a92328a 100644 --- a/app/src/main/res/layout/view_visible_message.xml +++ b/app/src/main/res/layout/view_visible_message.xml @@ -21,10 +21,6 @@ android:orientation="horizontal" android:gravity="bottom"> - -