@@ -18,7 +18,7 @@ public extension NitroConfig {
18
18
/**
19
19
* Create a new instance of `NitroConfig`.
20
20
*/
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 ) {
22
22
self . init ( mediaType, { ( ) -> bridge . std__vector_Result_ in
23
23
var __vector = bridge. create_std__vector_Result_ ( selectedAssets. count)
24
24
for __item in selectedAssets {
@@ -121,18 +121,6 @@ public extension NitroConfig {
121
121
} else {
122
122
return . init( )
123
123
}
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
- }
136
124
} ( ) , { ( ) -> bridge . std__optional_double_ in
137
125
if let __unwrappedValue = backgroundDark {
138
126
return bridge. create_std__optional_double_ ( __unwrappedValue)
@@ -476,40 +464,6 @@ public extension NitroConfig {
476
464
}
477
465
}
478
466
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
-
513
467
var backgroundDark : Double ? {
514
468
@inline ( __always)
515
469
get {
0 commit comments