mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Merge branch 'development' into development
This commit is contained in:
@@ -8,6 +8,9 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `MessageContentCell`'s subviews `frame` when size equal to `.zero`.
|
||||
[#716](https://github.com/MessageKit/MessageKit/pull/716) by [@zhongwuzw](https://github.com/zhongwuzw).
|
||||
|
||||
- Fixed `MessagesCollectionView`'s bottom inset when hardware keyboard is connected. Do not adjust `MessagesCollection`'s inset when being popped.
|
||||
[#707](https://github.com/MessageKit/MessageKit/pull/707) by [@zhongwuzw](https://github.com/zhongwuzw).
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ final class MessageContentCellTests: XCTestCase {
|
||||
|
||||
func testApplyLayoutAttributes() {
|
||||
let layoutAttributes = MessagesCollectionViewLayoutAttributes()
|
||||
layoutAttributes.avatarPosition.horizontal = .cellLeading
|
||||
layoutAttributes.avatarPosition = AvatarPosition(horizontal: .cellLeading, vertical: .cellBottom)
|
||||
cell.apply(layoutAttributes)
|
||||
|
||||
XCTAssertEqual(cell.avatarView.frame, layoutAttributes.frame)
|
||||
|
||||
Reference in New Issue
Block a user