Skip to content

Commit

Permalink
init frame of feedURLContainerView for auto layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Jan 22, 2016
1 parent 0da5128 commit 9a2c40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Yep/Views/Cells/ChatLeftTextURL/ChatLeftTextURLCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ChatLeftTextURLCell: ChatLeftTextCell {
var tapOpenGraphURLAction: ((URL: NSURL) -> Void)?

lazy var feedURLContainerView: FeedURLContainerView = {
let view = FeedURLContainerView()
let view = FeedURLContainerView(frame: CGRect(x: 0, y: 0, width: 200, height: 200))
view.directionLeading = true
view.compressionMode = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ChatRightTextURLCell: ChatRightTextCell {
var tapOpenGraphURLAction: ((URL: NSURL) -> Void)?

lazy var feedURLContainerView: FeedURLContainerView = {
let view = FeedURLContainerView()
let view = FeedURLContainerView(frame: CGRect(x: 0, y: 0, width: 200, height: 200))
view.directionLeading = false
view.compressionMode = false

Expand Down

0 comments on commit 9a2c40e

Please sign in to comment.