From c2950ace90aa029a21cd52c1558f4b4dd4d6f826 Mon Sep 17 00:00:00 2001 From: FineFindus <63370021+FineFindus@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:36:04 +0100 Subject: [PATCH] feat(tabBar): accessibilty hide profile avatar Sets the `importantForAccessibility` to no on the profile avatar, since the parent already has a contentDescription. --- mastodon/src/main/res/layout/tab_bar.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/src/main/res/layout/tab_bar.xml b/mastodon/src/main/res/layout/tab_bar.xml index 2ad234cb5..2dcde6dae 100644 --- a/mastodon/src/main/res/layout/tab_bar.xml +++ b/mastodon/src/main/res/layout/tab_bar.xml @@ -71,6 +71,7 @@ android:layout_width="28dp" android:layout_height="28dp" android:layout_gravity="center" + android:importantForAccessibility="no" android:scaleType="centerCrop" android:src="@null"/>