Skip to content

Commit

Permalink
Fix the code comment as "... max total of both lines at 3"
Browse files Browse the repository at this point in the history
  • Loading branch information
alpavanoglu committed Feb 5, 2024
1 parent 09f37ce commit 21f2c42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ListTableViewCell: UITableViewCell, NibReusable {
}
set {
titleLabel.attributedText = newValue ?? NSAttributedString()
// Updating snippetLabel's line count to keep the max total of both lines at 4.
// Updating snippetLabel's line count to keep the max total of both lines at 3.
snippetLabel.numberOfLines = titleLabel.numberOfVisibleLines > 1 ? 1 : 2
}
}
Expand Down

0 comments on commit 21f2c42

Please sign in to comment.