mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Only add a messageInputBarCopy if isFirstLayout
This commit is contained in:
@@ -66,7 +66,9 @@ open class MessagesViewController: UIViewController {
|
||||
|
||||
open override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(animated)
|
||||
setupMessageInputBarCopy()
|
||||
if isFirstLayout {
|
||||
setupMessageInputBarCopy()
|
||||
}
|
||||
}
|
||||
|
||||
open override func viewDidAppear(_ animated: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user