@@ -18,7 +18,7 @@ public extension NitroConfig {
1818 /**
1919 * Create a new instance of `NitroConfig`.
2020 */
21- init ( mediaType: MediaType , selectedAssets: [ Result ] , selectBoxStyle: SelectBoxStyle , selectMode: SelectMode , numberOfColumn: Double ? , isPreview: Bool ? , primaryColor: Double ? , allowedCamera: Bool ? , allowSwipeToSelect: Bool ? , spacing: Double ? , isHiddenPreviewButton: Bool ? , isHiddenOriginalButton: Bool ? , isShowPreviewList: Bool ? , allowHapticTouchPreview: Bool ? , allowedLimit: Bool ? , maxVideo: Double ? , maxSelect: Double ? , maxVideoDuration: Double ? , minVideoDuration: Double ? , maxFileSize: Double ? , videoQuality : Double ? , imageQuality : Double ? , backgroundDark: Double ? , crop: PickerCropConfig ? , text: Text ? , language: Language , theme: Theme , presentation: Presentation ) {
21+ init ( mediaType: MediaType , selectedAssets: [ Result ] , selectBoxStyle: SelectBoxStyle , selectMode: SelectMode , numberOfColumn: Double ? , isPreview: Bool ? , primaryColor: Double ? , allowedCamera: Bool ? , allowSwipeToSelect: Bool ? , spacing: Double ? , isHiddenPreviewButton: Bool ? , isHiddenOriginalButton: Bool ? , isShowPreviewList: Bool ? , allowHapticTouchPreview: Bool ? , allowedLimit: Bool ? , maxVideo: Double ? , maxSelect: Double ? , maxVideoDuration: Double ? , minVideoDuration: Double ? , maxFileSize: Double ? , backgroundDark: Double ? , crop: PickerCropConfig ? , text: Text ? , language: Language , theme: Theme , presentation: Presentation ) {
2222 self . init ( mediaType, { ( ) -> bridge . std__vector_Result_ in
2323 var __vector = bridge. create_std__vector_Result_ ( selectedAssets. count)
2424 for __item in selectedAssets {
@@ -121,18 +121,6 @@ public extension NitroConfig {
121121 } else {
122122 return . init( )
123123 }
124- } ( ) , { ( ) -> bridge . std__optional_double_ in
125- if let __unwrappedValue = videoQuality {
126- return bridge. create_std__optional_double_ ( __unwrappedValue)
127- } else {
128- return . init( )
129- }
130- } ( ) , { ( ) -> bridge . std__optional_double_ in
131- if let __unwrappedValue = imageQuality {
132- return bridge. create_std__optional_double_ ( __unwrappedValue)
133- } else {
134- return . init( )
135- }
136124 } ( ) , { ( ) -> bridge . std__optional_double_ in
137125 if let __unwrappedValue = backgroundDark {
138126 return bridge. create_std__optional_double_ ( __unwrappedValue)
@@ -476,40 +464,6 @@ public extension NitroConfig {
476464 }
477465 }
478466
479- var videoQuality : Double ? {
480- @inline ( __always)
481- get {
482- return self . __videoQuality. value
483- }
484- @inline ( __always)
485- set {
486- self . __videoQuality = { ( ) -> bridge . std__optional_double_ in
487- if let __unwrappedValue = newValue {
488- return bridge. create_std__optional_double_ ( __unwrappedValue)
489- } else {
490- return . init( )
491- }
492- } ( )
493- }
494- }
495-
496- var imageQuality : Double ? {
497- @inline ( __always)
498- get {
499- return self . __imageQuality. value
500- }
501- @inline ( __always)
502- set {
503- self . __imageQuality = { ( ) -> bridge . std__optional_double_ in
504- if let __unwrappedValue = newValue {
505- return bridge. create_std__optional_double_ ( __unwrappedValue)
506- } else {
507- return . init( )
508- }
509- } ( )
510- }
511- }
512-
513467 var backgroundDark : Double ? {
514468 @inline ( __always)
515469 get {
0 commit comments