From 7b470cd80eea4b4ef72a3ca8726b8a72a58b01ee Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 22 Feb 2025 00:28:09 -0800 Subject: feat: Development commit --- Sora/Views/Bookmarks/BookmarksView.swift | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Sora/Views/Bookmarks') diff --git a/Sora/Views/Bookmarks/BookmarksView.swift b/Sora/Views/Bookmarks/BookmarksView.swift index b36ee45..b52e7b7 100644 --- a/Sora/Views/Bookmarks/BookmarksView.swift +++ b/Sora/Views/Bookmarks/BookmarksView.swift @@ -12,8 +12,8 @@ struct BookmarksView: View { } return settings.bookmarks - .filter { - $0.tags.joined(separator: " ").lowercased().contains(bookmarksSearchText.lowercased()) + .filter { bookmark in + bookmark.tags.joined(separator: " ").lowercased().contains(bookmarksSearchText.lowercased()) } } @@ -24,7 +24,8 @@ struct BookmarksView: View { ContentUnavailableView( "No Bookmarks", systemImage: "bookmark", - description: Text("Add a bookmark by tapping the bookmark button on a search page.")) + description: Text("Add a bookmark by tapping the bookmark button on a search page.") + ) } else { List { if filteredBookmarks.isEmpty, !bookmarksSearchText.isEmpty { -- cgit v1.2.3