Skip to content

Commit

Permalink
Fixing constraint issues by changing BottomContainer to be a standard…
Browse files Browse the repository at this point in the history
… UIStackView instead of custom one (#1545)
  • Loading branch information
adamrushy authored and nuno-vieira committed Oct 21, 2021
1 parent 3ae8327 commit f7139e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -10,11 +10,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix incorrect key in `created_by` filter used in channel list query [#1544](https://github.com/GetStream/stream-chat-swift/issues/1544)
- Fix message list jumps when new reaction added [#1542](https://github.com/GetStream/stream-chat-swift/pull/1542)
- Fix message list jumps when message received [#1542](https://github.com/GetStream/stream-chat-swift/pull/1542)
- Fix broken constraint in the `ComposerView`, we have made the `BottomContainer` a standard `UIStackView` [#1545](https://github.com/GetStream/stream-chat-swift/pull/1545)

### 🔄 Changed
- `LogConfig` changes after logger was used will now take affect [#1522](https://github.com/GetStream/stream-chat-swift/issues/1522)


# [4.1.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.1.0)
_October 12, 2021_

Expand Down
3 changes: 1 addition & 2 deletions Sources/StreamChatUI/Composer/ComposerView.swift
Expand Up @@ -27,8 +27,7 @@ open class ComposerView: _View, ThemeProvider {
.withoutAutoresizingMaskConstraints

/// The container that displays the components below the message input view.
public private(set) lazy var bottomContainer = ContainerStackView()
.withoutAutoresizingMaskConstraints
public private(set) lazy var bottomContainer = UIStackView()

/// The container that layouts the message input view and the leading/trailing containers around it.
public private(set) lazy var centerContainer = ContainerStackView()
Expand Down

0 comments on commit f7139e2

Please sign in to comment.