From b4a0835a43b56c6b3ad8c30ae39a89f61d32477c Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 24 Mar 2022 14:04:31 +0100 Subject: [PATCH] Fix #80 --- Shared/Search/SearchView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Search/SearchView.swift b/Shared/Search/SearchView.swift index c5ee48e4..10cc63cb 100644 --- a/Shared/Search/SearchView.swift +++ b/Shared/Search/SearchView.swift @@ -353,7 +353,7 @@ struct SearchView: View { private var removeAllButton: some View { Button { - recents.clearQueries() + recents.clear() recentsChanged.toggle() } label: { Label("Remove All", systemImage: "trash.fill")