mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
set gallery limit to 60 when the gallery ff is on
This commit is contained in:
@@ -39,8 +39,8 @@ struct PhotoLibraryPicker: UIViewControllerRepresentable {
|
||||
configuration.selectionLimit = switch selectionType {
|
||||
case .single:
|
||||
1
|
||||
case .multiple:
|
||||
10
|
||||
case .multiple(let limit):
|
||||
limit
|
||||
}
|
||||
|
||||
let pickerViewController = PHPickerViewController(configuration: configuration)
|
||||
|
||||
Reference in New Issue
Block a user