mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 15:36:38 +01:00
Fixes showing the list of people button when the user is blocked
This commit is contained in:
@@ -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),
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user