Expand activity strip to nine months
This commit is contained in:
@@ -414,7 +414,7 @@ final class HeatmapView: UIView {
|
||||
) ?? latest
|
||||
let firstMonth = Calendar(identifier: .gregorian).date(
|
||||
byAdding: .month,
|
||||
value: -5,
|
||||
value: -8,
|
||||
to: latestMonth
|
||||
) ?? latestMonth
|
||||
cells = page.heatCells.filter {
|
||||
@@ -423,7 +423,7 @@ final class HeatmapView: UIView {
|
||||
super.init(frame: CGRect(x: 0, y: 0, width: 0, height: 132))
|
||||
backgroundColor = .systemBackground
|
||||
let title = UILabel(frame: CGRect(x: 16, y: 12, width: 300, height: 22))
|
||||
title.text = "Activity · last 6 months"
|
||||
title.text = "Activity · last 9 months"
|
||||
title.font = .preferredFont(forTextStyle: .subheadline)
|
||||
title.textColor = .secondaryLabel
|
||||
addSubview(title)
|
||||
|
||||
Reference in New Issue
Block a user