From cfd6eed159973dcc1bddae3be045fa544868302f Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 5 Feb 2024 08:59:27 +0100 Subject: [PATCH] Fix #1943 --- .../Sources/StatusKit/Editor/Components/AccessoryView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,