Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Increase number of lines Add styling constant
  • Loading branch information
pawelmilek committed Dec 17, 2023
2 parents b10a35f + a2285d7 commit 45c888b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SwiftyForecast/Screens/Main/Daily/DailyViewCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private extension DailyViewCell {

dateLabel.textColor = Style.DailyCell.dateColor
dateLabel.textAlignment = Style.DailyCell.dateAlignment
dateLabel.numberOfLines = 1
dateLabel.numberOfLines = Style.DailyCell.numberOfLines

temperatureLabel.font = Style.DailyCell.temperatureFont
temperatureLabel.textColor = Style.DailyCell.temperatureColor
Expand Down
1 change: 1 addition & 0 deletions SwiftyForecast/Style.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ struct Style {

static let dateColor = UIColor.tertiary
static let dateAlignment = NSTextAlignment.left
static let numberOfLines = 2

static let iconColor = UIColor.tertiary
static let iconAlignment = NSTextAlignment.center
Expand Down

0 comments on commit 45c888b

Please sign in to comment.