Skip to content

Commit 69effe7

Browse files
authored
Merge branch 'master' into feature/add-left-button
2 parents 5363410 + 2e95527 commit 69effe7

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

MessageViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'MessageViewController'
3-
spec.version = '0.1.2'
3+
spec.version = '0.2.0'
44
spec.license = { :type => 'MIT' }
55
spec.homepage = 'https://github.com/GitHawkApp/MessageViewController'
66
spec.authors = { 'Ryan Nystrom' => 'rnystrom@whoisryannystrom.com' }

MessageViewController/MessageAutocompleteController.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ public final class MessageAutocompleteController: MessageTextViewListener {
8585
}
8686

8787
public final func show(_ doShow: Bool) {
88-
if doShow {
89-
tableView.reloadData()
90-
tableView.layoutIfNeeded()
91-
}
88+
tableView.reloadData()
89+
tableView.layoutIfNeeded()
9290
tableView.isHidden = !doShow
9391
border.isHidden = !doShow
9492
layoutDelegate?.needsLayout(controller: self)

0 commit comments

Comments
 (0)