disabled search

This commit is contained in:
spaced4ndy
2023-12-04 18:37:41 +04:00
parent ddc8712b7c
commit df7fe91af7

View File

@@ -291,6 +291,7 @@ struct ChatListSearchBar: View {
HStack(spacing: 4) {
Image(systemName: "magnifyingglass")
TextField("Search or paste SimpleX link", text: $searchText)
.disabled(searchShowingSimplexLink)
.focused($searchFocussed)
.foregroundColor(searchShowingSimplexLink ? Color(uiColor: uiLinkColor) : .primary)
.frame(maxWidth: .infinity)