diff options
| author | Fuwn <[email protected]> | 2026-02-18 10:46:38 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-18 10:46:38 -0800 |
| commit | cd62bb58e1f32ddcccaac081dd9aec12c3edc398 (patch) | |
| tree | c7006dd094ed83fa84bafe48128129f016eccc89 /Sora/Views/FavoritesView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-cd62bb58e1f32ddcccaac081dd9aec12c3edc398.tar.xz sora-testing-cd62bb58e1f32ddcccaac081dd9aec12c3edc398.zip | |
Fix SwiftLint violations
Diffstat (limited to 'Sora/Views/FavoritesView.swift')
| -rw-r--r-- | Sora/Views/FavoritesView.swift | 4 |
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", |