Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #455 from RocketChat/bug/links_textview.454
Browse files Browse the repository at this point in the history
Fixed: touch on Links/Phones/Dates in the message text
  • Loading branch information
rafaelks authored May 5, 2017
2 parents 07e93ae + 4184c2a commit 2a744f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions Rocket.Chat/Controllers/Chat/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ final class ChatViewController: SLKTextViewController {
}
}

override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

view?.layoutSubviews()
collectionView?.layoutSubviews()
scrollToBottom()
}

override func viewWillLayoutSubviews() {
super.viewWillLayoutSubviews()

Expand Down
2 changes: 1 addition & 1 deletion Rocket.Chat/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>59</string>
<string>60</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
2 changes: 1 addition & 1 deletion Rocket.Chat/Views/Cells/Chat/ChatMessageCell.xib
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<constraint firstAttribute="width" constant="35" id="Cny-FU-tGi"/>
</constraints>
</view>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" text="Text" textAlignment="natural" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jz0-wl-Wig">
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" text="Text" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="jz0-wl-Wig">
<rect key="frame" x="42" y="23" width="300" height="44"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
Expand Down

0 comments on commit 2a744f0

Please sign in to comment.