diff --git a/Packages/StatusKit/Sources/StatusKit/Editor/Components/AccessoryView.swift b/Packages/StatusKit/Sources/StatusKit/Editor/Components/AccessoryView.swift index 1692aab7..8a3bf0f8 100644 --- a/Packages/StatusKit/Sources/StatusKit/Editor/Components/AccessoryView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Editor/Components/AccessoryView.swift @@ -111,7 +111,7 @@ extension StatusEditor { } .photosPicker(isPresented: $isPhotosPickerPresented, selection: $viewModel.mediaPickers, - maxSelectionCount: 4, + maxSelectionCount: currentInstance.instance?.configuration?.statuses.maxMediaAttachments ?? 4, matching: .any(of: [.images, .videos]), photoLibrary: .shared()) .fileImporter(isPresented: $isFileImporterPresented,