Skip to content

Commit

Permalink
fixed nits
Browse files Browse the repository at this point in the history
  • Loading branch information
noorhashem committed Jul 7, 2020
1 parent 8b767e0 commit 30001b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Extensions/Today/ButtonWithSublabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ButtonWithSublabel: UIButton {
self.label.snp.makeConstraints { make in
make.left.equalTo(buttonImage.snp.right).offset(10)
make.trailing.top.equalTo(self)
make.height.equalTo(15)
make.height.greaterThanOrEqualTo(15)
}
self.label.numberOfLines = 1
self.label.lineBreakMode = .byWordWrapping
Expand All @@ -45,7 +45,7 @@ class ButtonWithSublabel: UIButton {
make.bottom.equalTo(self).inset(10)
make.top.equalTo(self.label.snp.bottom).offset(3)
make.leading.trailing.equalTo(self.label)
make.height.equalTo(10)
make.height.greaterThanOrEqualTo(10)
}
}

Expand Down
2 changes: 1 addition & 1 deletion Extensions/Today/ImageButtonWithLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import UIKit
class ImageButtonWithLabel: UIView {

class ImageButtonWithLabel: UIView {
lazy var button = UIButton()
lazy var label = UILabel()

Expand Down

0 comments on commit 30001b4

Please sign in to comment.