From c2c3442b74643dacd66fb652768fc13e2b6a43b9 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 5 Nov 2025 19:02:45 -0500 Subject: [PATCH] Fixes showing the list of people button when the user is blocked --- .../loggedIn/profile/header/ProfileActions.kt | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfileActions.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfileActions.kt index ca645e0fe..c69b46dff 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfileActions.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/header/ProfileActions.kt @@ -62,17 +62,17 @@ fun ProfileActions( ShowUserButton { accountViewModel.showUser(baseUser.pubkeyHex) } } else { DisplayFollowUnfollowButton(baseUser, accountViewModel) - } - - TextButton( - onClick = { nav.nav(Route.PeopleListManagement(baseUser.pubkeyHex)) }, - shape = ButtonBorder.copy(topStart = CornerSize(0f), bottomStart = CornerSize(0f)), - colors = ButtonDefaults.filledTonalButtonColors(), - contentPadding = ZeroPadding, - ) { - Icon( - imageVector = Icons.AutoMirrored.Filled.List, - contentDescription = stringRes(R.string.follow_set_profile_actions_menu_description), - ) + + TextButton( + onClick = { nav.nav(Route.PeopleListManagement(baseUser.pubkeyHex)) }, + shape = ButtonBorder.copy(topStart = CornerSize(0f), bottomStart = CornerSize(0f)), + colors = ButtonDefaults.filledTonalButtonColors(), + contentPadding = ZeroPadding, + ) { + Icon( + imageVector = Icons.AutoMirrored.Filled.List, + contentDescription = stringRes(R.string.follow_set_profile_actions_menu_description), + ) + } } }