Status row: fix navigating to account from remote timeline

This commit is contained in:
Thomas Ricouard 2023-03-12 08:04:20 +01:00
parent c56ef64f55
commit 6f484fa6c5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public struct StatusRowView: View {
theme.avatarPosition == .leading
{
Button {
viewModel.routerPath.navigate(to: .accountDetailWithAccount(account: viewModel.finalStatus.account))
viewModel.navigateToAccountDetail(account: viewModel.finalStatus.account)
} label: {
AvatarView(url: viewModel.finalStatus.account.avatar, size: .status)
}