Timeline: Tag heeader now tappable

This commit is contained in:
Thomas Ricouard 2024-01-03 09:16:24 +01:00
parent 326d6e5d50
commit f39005c118

View file

@ -4,6 +4,8 @@ import SwiftUI
struct StatusRowTagView: View {
@Environment(CurrentAccount.self) private var currentAccount
@Environment(RouterPath.self) private var routerPath
@Environment(\.isHomeTimeline) private var isHomeTimeline
let viewModel: StatusRowViewModel
@ -17,6 +19,9 @@ struct StatusRowTagView: View {
.font(.scaledFootnote)
.foregroundStyle(.secondary)
.fontWeight(.semibold)
.onTapGesture {
routerPath.navigate(to: .hashTag(tag: tag.title, account: nil))
}
}
}
}