mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 04:06:36 +00:00
Further layout tweaks
This commit is contained in:
parent
d300bee96f
commit
44dbd379ba
1 changed files with 6 additions and 4 deletions
|
@ -22,7 +22,9 @@ struct StatusRowHeaderView: View {
|
|||
}
|
||||
.buttonStyle(.plain)
|
||||
Spacer()
|
||||
dateView
|
||||
if !redactionReasons.contains(.placeholder) {
|
||||
dateView
|
||||
}
|
||||
}
|
||||
.accessibilityElement(children: .combine)
|
||||
.accessibilityLabel(Text("\(viewModel.finalStatus.account.safeDisplayName)") + Text(", ") + Text(viewModel.finalStatus.createdAt.relativeFormatted))
|
||||
|
@ -83,9 +85,9 @@ struct StatusRowHeaderView: View {
|
|||
|
||||
private var dateView: some View {
|
||||
Group {
|
||||
Text(viewModel.finalStatus.createdAt.relativeFormatted) +
|
||||
Text(" ⸱ ") +
|
||||
Text(Image(systemName: viewModel.finalStatus.visibility.iconName))
|
||||
Text(Image(systemName: viewModel.finalStatus.visibility.iconName)) +
|
||||
Text(" ⸱ ") +
|
||||
Text(viewModel.finalStatus.createdAt.relativeFormatted)
|
||||
}
|
||||
.font(.scaledFootnote)
|
||||
.foregroundStyle(.secondary)
|
||||
|
|
Loading…
Reference in a new issue