summaryrefslogtreecommitdiff
path: root/Sora/Views/FavoritesView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-18 10:46:38 -0800
committerFuwn <[email protected]>2026-02-18 10:46:38 -0800
commitcd62bb58e1f32ddcccaac081dd9aec12c3edc398 (patch)
treec7006dd094ed83fa84bafe48128129f016eccc89 /Sora/Views/FavoritesView.swift
parentfeat: Development commit (diff)
downloadsora-testing-cd62bb58e1f32ddcccaac081dd9aec12c3edc398.tar.xz
sora-testing-cd62bb58e1f32ddcccaac081dd9aec12c3edc398.zip
Fix SwiftLint violations
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",