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) }
} 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),
)
}
}
}