diff options
| author | Fuwn <[email protected]> | 2025-07-11 06:32:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-11 06:32:46 -0700 |
| commit | 2e079945cb3c68ed05750757b59f0acc59155010 (patch) | |
| tree | 23901f3b5ef4956f7983bccc2922b9b9378dfcbb /Sora/Views/Generic | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-2e079945cb3c68ed05750757b59f0acc59155010.tar.xz sora-testing-2e079945cb3c68ed05750757b59f0acc59155010.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Generic')
| -rw-r--r-- | Sora/Views/Generic/GenericListView.swift | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Sora/Views/Generic/GenericListView.swift b/Sora/Views/Generic/GenericListView.swift index 7c568d6..004a278 100644 --- a/Sora/Views/Generic/GenericListView.swift +++ b/Sora/Views/Generic/GenericListView.swift @@ -121,12 +121,12 @@ struct GenericListView<T: Identifiable & Hashable & GenericItem>: View { .pickerStyle(.menu) Picker("Collection", selection: $selectedCollectionOption) { - Text(CollectionPickerOption.all.name(settings)).tag(CollectionPickerOption.all) + Text(CollectionPickerOption.all.name(settings: settings)) + .tag(CollectionPickerOption.all) if items.contains(where: { $0.folder == nil }) { - Text(CollectionPickerOption.uncategorized.name(settings)).tag( - CollectionPickerOption.uncategorized - ) + Text(CollectionPickerOption.uncategorized.name(settings: settings)) + .tag(CollectionPickerOption.uncategorized) } ForEach(settings.folders.filter { $0.topLevelName == nil }, id: \.id) { folder in @@ -225,12 +225,12 @@ struct GenericListView<T: Identifiable & Hashable & GenericItem>: View { Menu { Picker("Collection", selection: $selectedCollectionOption) { - Text(CollectionPickerOption.all.name(settings)).tag(CollectionPickerOption.all) + Text(CollectionPickerOption.all.name(settings: settings)) + .tag(CollectionPickerOption.all) if items.contains(where: { $0.folder == nil }) { - Text(CollectionPickerOption.uncategorized.name(settings)).tag( - CollectionPickerOption.uncategorized - ) + Text(CollectionPickerOption.uncategorized.name(settings: settings)) + .tag(CollectionPickerOption.uncategorized) } ForEach(settings.folders.filter { $0.topLevelName == nil }, id: \.id) { folder in |