From 2baf51616ce927c641b668567ed2dfe4c9797104 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Tue, 6 Jun 2023 19:25:51 -0300 Subject: [PATCH] fix(settings): update max lines number in settings items This fixes the bug where settings secondary text would go missing if a screen was too small. This addresses that. It's also something for you @sk22 --- mastodon/src/main/res/layout/item_settings_button.xml | 3 +-- mastodon/src/main/res/layout/item_settings_switch.xml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mastodon/src/main/res/layout/item_settings_button.xml b/mastodon/src/main/res/layout/item_settings_button.xml index c79a17952..2f61a40ee 100644 --- a/mastodon/src/main/res/layout/item_settings_button.xml +++ b/mastodon/src/main/res/layout/item_settings_button.xml @@ -44,8 +44,7 @@ android:textColor="?android:textColorSecondary" android:layout_below="@id/title" android:layout_alignStart="@id/title" - android:visibility="gone" - android:maxLines="4" /> + android:visibility="gone" />