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.
2 parents be85ba8 + 599d400 commit 482c070Copy full SHA for 482c070
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