mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
use xmark to clear search bar
This commit is contained in:
parent
fb77ceddf2
commit
4b1d772f00
2 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ import Views
|
|||
@Published var itemToSnoozeID: String?
|
||||
@Published var selectedLinkItem: LinkedItem?
|
||||
@Published var showLoadingBar = false
|
||||
@Published var appliedFilter = LinkedItemFilter.all
|
||||
@Published var appliedFilter = LinkedItemFilter.inbox
|
||||
|
||||
var cursor: String?
|
||||
|
||||
|
|
|
|||
|
|
@ -30,10 +30,10 @@ public struct SearchBar: View {
|
|||
self.isSearching = false
|
||||
self.searchTerm = ""
|
||||
},
|
||||
label: { Text("Cancel") }
|
||||
label: { Image(systemName: "xmark.circle").foregroundColor(.appGrayTextContrast) }
|
||||
)
|
||||
.padding(.trailing)
|
||||
.transition(.move(edge: .trailing))
|
||||
.transition(.opacity)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue