mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-09 07:45:25 +00:00
Allow tapping avatar to go details page (#21)
This commit is contained in:
parent
ef44e32e21
commit
fa912bd327
1 changed files with 4 additions and 0 deletions
|
@ -22,7 +22,11 @@ public struct StatusRowView: View {
|
|||
if !viewModel.isCompact,
|
||||
theme.avatarPosition == .leading,
|
||||
let status: AnyStatus = viewModel.status.reblog ?? viewModel.status {
|
||||
Button {
|
||||
routeurPath.navigate(to: .accountDetailWithAccount(account: status.account))
|
||||
} label: {
|
||||
AvatarView(url: status.account.avatar, size: .status)
|
||||
}
|
||||
}
|
||||
VStack(alignment: .leading) {
|
||||
if !viewModel.isCompact {
|
||||
|
|
Loading…
Reference in a new issue