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) }
|
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),
|
)
|
||||||
)
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user