From f61872af7c4364fcbd5f0d2c555125a9e0877e81 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 5 Apr 2022 10:16:44 +0200 Subject: [PATCH] remove redundant code for reactions recyclerview Signed-off-by: Marcel Hibbe --- .../talk/ui/dialog/ShowReactionsDialog.kt | 2 - .../res/layout/dialog_message_reactions.xml | 36 ++++--------- .../layout/rv_item_emoji_details_contact.xml | 54 ------------------- 3 files changed, 9 insertions(+), 83 deletions(-) delete mode 100644 app/src/main/res/layout/rv_item_emoji_details_contact.xml diff --git a/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt b/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt index c08e18e7e..8b60e9f15 100644 --- a/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt +++ b/app/src/main/java/com/nextcloud/talk/ui/dialog/ShowReactionsDialog.kt @@ -173,8 +173,6 @@ class ShowReactionsDialog( Log.d(TAG, "onComplete") } }) - - // binding.emojiReactionsContactList } override fun onClick(reactionItem: ReactionItem) { diff --git a/app/src/main/res/layout/dialog_message_reactions.xml b/app/src/main/res/layout/dialog_message_reactions.xml index 87d4d616e..16c893a5b 100644 --- a/app/src/main/res/layout/dialog_message_reactions.xml +++ b/app/src/main/res/layout/dialog_message_reactions.xml @@ -33,36 +33,18 @@ android:layout_height="wrap_content" tools:listitem="@layout/reaction_item" /> - + android:layout_gravity="center"> - + - - - - - - - - + diff --git a/app/src/main/res/layout/rv_item_emoji_details_contact.xml b/app/src/main/res/layout/rv_item_emoji_details_contact.xml deleted file mode 100644 index 06aa6b78e..000000000 --- a/app/src/main/res/layout/rv_item_emoji_details_contact.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - -