ui: allow users to collapse suggested hashtag view

Closes: https://github.com/damus-io/damus/pull/1789
Changelog-Added: Add ability to hide suggested hashtags
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
ericholguin
2023-12-02 11:56:25 -07:00
committed by William Casarin
parent 05b2cb6376
commit 3e5029a4ad
2 changed files with 25 additions and 5 deletions
+4
View File
@@ -78,6 +78,10 @@ struct SearchHomeView: View {
content: {
AnyView(VStack {
SuggestedHashtagsView(damus_state: damus_state, max_items: 5, events: model.events)
Divider()
.frame(height: 1)
HStack {
Image("notes.fill")
Text(NSLocalizedString("All recent notes", comment: "A label indicating that the notes being displayed below it are all recent notes"))