We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be85ba8 commit 599d400Copy full SHA for 599d400
ios/Image/ImageCompressorOptions.swift
@@ -26,8 +26,8 @@ class ImageCompressorOptions: NSObject {
26
27
for (key, value) in dictionary {
28
switch key {
29
- case "autoCompress":
30
- options.autoCompress = (value as? Bool) ?? false
+ case "compressionMethod":
+ options.autoCompress = (value as? String ?? "") != "manual"
31
case "maxWidth":
32
options.maxWidth = (value as? Int) ?? 1280
33
case "maxHeight":
0 commit comments