Skip to content

Commit 1ab8950

Browse files
committed
Improved stability
1 parent 56f41b2 commit 1ab8950

21 files changed

+44
-43
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
### v2.0.4 (Jan 15, 2021)
4+
* Improved stability
5+
36
### v2.0.3 (Jan 14, 2021)
47
* Improved stability
58
* Added `UsingImageCompression` flag in `SBUGlobals`

SendBirdUIKit.framework.dSYM/Contents/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleSignature</key>
1414
<string>????</string>
1515
<key>CFBundleShortVersionString</key>
16-
<string>2.0.3</string>
16+
<string>2.0.4</string>
1717
<key>CFBundleVersion</key>
1818
<string>1</string>
1919
</dict>
658 Bytes
Binary file not shown.

SendBirdUIKit.framework/Assets.car

0 Bytes
Binary file not shown.

SendBirdUIKit.framework/Headers/SBUChannelViewController.swift

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,11 +1264,10 @@ open class SBUChannelViewController: SBUBaseChannelViewController, UINavigationC
12641264
.fixedOrientation()
12651265
.resize(with: SBUGlobals.imageResizingSize) else { return }
12661266

1267-
var imageData: Data?
1268-
if SBUGlobals.UsingImageCompression {
1269-
imageData = image
1270-
.jpegData(compressionQuality: SBUGlobals.imageCompressionRate)
1271-
}
1267+
let imageData = image.jpegData(
1268+
compressionQuality: SBUGlobals.UsingImageCompression ?
1269+
SBUGlobals.imageCompressionRate : 1.0
1270+
)
12721271

12731272
self.sendFileMessage(
12741273
fileData: imageData,
@@ -1314,11 +1313,10 @@ open class SBUChannelViewController: SBUBaseChannelViewController, UINavigationC
13141313
.fixedOrientation()
13151314
.resize(with: SBUGlobals.imageResizingSize) else { return }
13161315

1317-
var imageData: Data?
1318-
if SBUGlobals.UsingImageCompression {
1319-
imageData = image
1320-
.jpegData(compressionQuality: SBUGlobals.imageCompressionRate)
1321-
}
1316+
let imageData = image.jpegData(
1317+
compressionQuality: SBUGlobals.UsingImageCompression ?
1318+
SBUGlobals.imageCompressionRate : 1.0
1319+
)
13221320

13231321
self.sendFileMessage(
13241322
fileData: imageData,

SendBirdUIKit.framework/Info.plist

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)