Mercurial > public > lazybear
comparison LazyBear/Views/Company/Helpers/NewsRow.swift @ 447:8621ba6fd457
Fixes #48
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Wed, 23 Jun 2021 10:54:47 +0200 |
parents | ffbb1dbab531 |
children | f71761f166f2 |
comparison
equal
deleted
inserted
replaced
446:9cc0455bc46f | 447:8621ba6fd457 |
---|---|
17 Text("\(convertEpoch(new.datetime, true)) ago") | 17 Text("\(convertEpoch(new.datetime, true)) ago") |
18 .font(.caption2) | 18 .font(.caption2) |
19 .opacity(0.5) | 19 .opacity(0.5) |
20 | 20 |
21 Text(new.headline.capitalized) | 21 Text(new.headline.capitalized) |
22 .font(.callout) | 22 .font(.headline) |
23 .fontWeight(.semibold) | 23 .fontWeight(.semibold) |
24 .fixedSize(horizontal: false, vertical: true) /// I need to add this to make lineLimit works correctly | 24 .fixedSize(horizontal: false, vertical: true) /// I need to add this to make lineLimit works correctly |
25 .lineLimit(3) | 25 .lineLimit(3) |
26 } | 26 } |
27 // .padding(.horizontal, 5) | |
28 | 27 |
29 Spacer() | 28 Spacer() |
30 | 29 |
31 Button(action: { showWebArticle = true }) { | 30 Button(action: { showWebArticle = true }) { |
32 Capsule() | 31 Capsule() |