From 9c94a4c3911f4f6ac9e19dabd0a57722125765a0 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Wed, 6 Dec 2023 18:19:36 +0200
Subject: [PATCH] Simplify reaction item view

---
 .../layout/list_item_timeline_reaction.xml    | 21 +++++++------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/app/src/main/res/layout/list_item_timeline_reaction.xml b/app/src/main/res/layout/list_item_timeline_reaction.xml
index e34a4347e..a6cba99a2 100644
--- a/app/src/main/res/layout/list_item_timeline_reaction.xml
+++ b/app/src/main/res/layout/list_item_timeline_reaction.xml
@@ -1,17 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.google.android.material.chip.Chip xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
+    android:id="@+id/emojiChip"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
-    android:paddingHorizontal="1dp"
-    android:paddingVertical="2dp">
-
-    <com.google.android.material.chip.Chip
-        android:id="@+id/emojiChip"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:checkable="true"
-        app:checkedIconVisible="false"
-        app:chipBackgroundColor="@color/emoji_chip_background"
-        app:ensureMinTouchTargetSize="false" />
-</FrameLayout>
\ No newline at end of file
+    android:layout_marginHorizontal="1dp"
+    android:layout_marginVertical="2dp"
+    android:checkable="true"
+    app:checkedIconVisible="false"
+    app:chipBackgroundColor="@color/emoji_chip_background"
+    app:ensureMinTouchTargetSize="false" />
\ No newline at end of file
-- 
GitLab