File tree 3 files changed +14
-8
lines changed
3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'ChatLayout'
3
- s . version = '1.2.3 '
3
+ s . version = '1.2.4 '
4
4
s . summary = 'Chat UI Library. It uses custom UICollectionViewLayout to provide you full control over the presentation.'
5
5
s . swift_version = '5.7'
6
6
Original file line number Diff line number Diff line change @@ -107,7 +107,13 @@ public final class CollectionViewChatLayout: UICollectionViewLayout {
107
107
contentSize = controller. contentSize ( for: . beforeUpdate)
108
108
} else {
109
109
var size = controller. contentSize ( for: . beforeUpdate)
110
- size. height += controller. totalProposedCompensatingOffset
110
+ if #available( iOS 16 . 0 , * ) {
111
+ if controller. totalProposedCompensatingOffset > 0 {
112
+ size. height += controller. totalProposedCompensatingOffset
113
+ }
114
+ } else {
115
+ size. height += controller. totalProposedCompensatingOffset
116
+ }
111
117
contentSize = size
112
118
}
113
119
return contentSize
Original file line number Diff line number Diff line change 1
1
PODS:
2
- - ChatLayout (1.2.3 ):
3
- - ChatLayout/Ultimate (= 1.2.3 )
4
- - ChatLayout/Core (1.2.3 )
5
- - ChatLayout/Extras (1.2.3 ):
2
+ - ChatLayout (1.2.4 ):
3
+ - ChatLayout/Ultimate (= 1.2.4 )
4
+ - ChatLayout/Core (1.2.4 )
5
+ - ChatLayout/Extras (1.2.4 ):
6
6
- ChatLayout/Core
7
- - ChatLayout/Ultimate (1.2.3 ):
7
+ - ChatLayout/Ultimate (1.2.4 ):
8
8
- ChatLayout/Core
9
9
- ChatLayout/Extras
10
10
- DifferenceKit (1.3.0):
@@ -35,7 +35,7 @@ EXTERNAL SOURCES:
35
35
:path: "../"
36
36
37
37
SPEC CHECKSUMS:
38
- ChatLayout: 42afa9fc45e72e3b941a9fd3e7a92b6e250a148d
38
+ ChatLayout: b739a3fd0940dd36d201f31ca5315bb1d94d6c9d
39
39
DifferenceKit: ab185c4d7f9cef8af3fcf593e5b387fb81e999ca
40
40
FPSCounter: 884afec377de66637808c4f52ecc3b85a404732b
41
41
InputBarAccessoryView: 1d7b0a672b36e370f01f264b3907ef39d03328e3
You can’t perform that action at this time.
0 commit comments