Skip to content

Commit

Permalink
- fixed Search doesn't handle in-app link resolution (#233)
Browse files Browse the repository at this point in the history
Co-authored-by: Itay sharzer <itay@myinterview.com>
  • Loading branch information
tht7 and itay-myinterview committed Jul 7, 2023
1 parent 19d7b6b commit 74b2fa8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mlem/Views/Tabs/Search/Search View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ struct SearchView: View {
.navigationBarTitleDisplayMode(.inline)
.navigationTitle("Search")
}
.handleLemmyLinkResolution(navigationPath: $navigationPath)
.searchable(text: getSearchTextBinding(), prompt: "Search for communities")
.onSubmit(of: .search) {
performSearch()
Expand Down

0 comments on commit 74b2fa8

Please sign in to comment.