Skip to content

Commit

Permalink
Only add a messageInputBarCopy if isFirstLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
nathantannar4 committed Sep 16, 2017
1 parent 957694f commit dbdceb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/MessagesViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dbdceb2

Please sign in to comment.