Add filters for home screen

Closes: #25
Changelog-Added: Added ability to hide replies on home timeline
This commit is contained in:
James Carucci
2022-08-13 12:20:48 -04:00
committed by William Casarin
parent be3e65f657
commit 12eb50255a
5 changed files with 51 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ struct SearchView: View {
@Environment(\.dismiss) var dismiss
var body: some View {
TimelineView(events: $search.events, loading: $search.loading, damus: appstate, show_friend_icon: true)
TimelineView(events: $search.events, loading: $search.loading, damus: appstate, show_friend_icon: true, filter: { _ in true })
.navigationBarTitle(describe_search(search.search))
.padding([.leading, .trailing], 6)
.onReceive(handle_notify(.switched_timeline)) { obj in