From bcdf004082ad15961c929280998b485c4409e221 Mon Sep 17 00:00:00 2001 From: Ahmed Radhouane Belkilani <73594434+ahmed-radhouane@users.noreply.github.com> Date: Fri, 4 Mar 2022 16:38:53 +0100 Subject: [PATCH] Update the top bar in a room (#5213) Remove typing message notification from room toolbar. Signed-off-by: Ahmed Radhouane Belkilani --- changelog.d/4642.bugfix | 1 + .../main/res/values/style_action_button.xml | 8 +++ .../src/main/res/values/theme_dark.xml | 3 ++ .../src/main/res/values/theme_light.xml | 3 ++ .../home/room/detail/TimelineFragment.kt | 21 +------- .../res/layout/view_room_detail_toolbar.xml | 52 ++++++------------- 6 files changed, 34 insertions(+), 54 deletions(-) create mode 100644 changelog.d/4642.bugfix create mode 100644 library/ui-styles/src/main/res/values/style_action_button.xml diff --git a/changelog.d/4642.bugfix b/changelog.d/4642.bugfix new file mode 100644 index 0000000000..2a5ea97196 --- /dev/null +++ b/changelog.d/4642.bugfix @@ -0,0 +1 @@ +Update the top bar in a room: remove topic and typing information \ No newline at end of file diff --git a/library/ui-styles/src/main/res/values/style_action_button.xml b/library/ui-styles/src/main/res/values/style_action_button.xml new file mode 100644 index 0000000000..0a3c73622f --- /dev/null +++ b/library/ui-styles/src/main/res/values/style_action_button.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/library/ui-styles/src/main/res/values/theme_dark.xml b/library/ui-styles/src/main/res/values/theme_dark.xml index 100a07f41d..31e64184bc 100644 --- a/library/ui-styles/src/main/res/values/theme_dark.xml +++ b/library/ui-styles/src/main/res/values/theme_dark.xml @@ -141,6 +141,9 @@ @style/Widget.Vector.Keyword @color/vctr_toast_background_dark + + @style/Widget.Vector.ActionButton +