summaryrefslogtreecommitdiff
path: root/Sora/Views/FavoritesView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/FavoritesView.swift')
-rw-r--r--Sora/Views/FavoritesView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sora/Views/FavoritesView.swift b/Sora/Views/FavoritesView.swift
index 3974215..7c41a2d 100644
--- a/Sora/Views/FavoritesView.swift
+++ b/Sora/Views/FavoritesView.swift
@@ -185,8 +185,8 @@ struct FavoritesView: View { // swiftlint:disable:this type_body_length
#endif
ScrollView {
- if filteredFavorites.isEmpty
- && (!searchText.isEmpty || !(selectedCollectionOption == .all))
+ if filteredFavorites.isEmpty,
+ !searchText.isEmpty || selectedCollectionOption != .all
{
ContentUnavailableView(
"No matching favorites found",