Status row: fix navigating to account from remote timeline
This commit is contained in:
parent
c56ef64f55
commit
6f484fa6c5
|
@ -46,7 +46,7 @@ public struct StatusRowView: View {
|
||||||
theme.avatarPosition == .leading
|
theme.avatarPosition == .leading
|
||||||
{
|
{
|
||||||
Button {
|
Button {
|
||||||
viewModel.routerPath.navigate(to: .accountDetailWithAccount(account: viewModel.finalStatus.account))
|
viewModel.navigateToAccountDetail(account: viewModel.finalStatus.account)
|
||||||
} label: {
|
} label: {
|
||||||
AvatarView(url: viewModel.finalStatus.account.avatar, size: .status)
|
AvatarView(url: viewModel.finalStatus.account.avatar, size: .status)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue