Fixes showing the list of people button when the user is blocked

This commit is contained in:
Vitor Pamplona
2025-11-05 19:02:45 -05:00
parent 43942891b7
commit c2c3442b74

View File

@@ -62,17 +62,17 @@ fun ProfileActions(
ShowUserButton { accountViewModel.showUser(baseUser.pubkeyHex) } ShowUserButton { accountViewModel.showUser(baseUser.pubkeyHex) }
} else { } else {
DisplayFollowUnfollowButton(baseUser, accountViewModel) DisplayFollowUnfollowButton(baseUser, accountViewModel)
}
TextButton(
TextButton( onClick = { nav.nav(Route.PeopleListManagement(baseUser.pubkeyHex)) },
onClick = { nav.nav(Route.PeopleListManagement(baseUser.pubkeyHex)) }, shape = ButtonBorder.copy(topStart = CornerSize(0f), bottomStart = CornerSize(0f)),
shape = ButtonBorder.copy(topStart = CornerSize(0f), bottomStart = CornerSize(0f)), colors = ButtonDefaults.filledTonalButtonColors(),
colors = ButtonDefaults.filledTonalButtonColors(), contentPadding = ZeroPadding,
contentPadding = ZeroPadding, ) {
) { Icon(
Icon( imageVector = Icons.AutoMirrored.Filled.List,
imageVector = Icons.AutoMirrored.Filled.List, contentDescription = stringRes(R.string.follow_set_profile_actions_menu_description),
contentDescription = stringRes(R.string.follow_set_profile_actions_menu_description), )
) }
} }
} }