mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 01:31:04 +00:00
Style fix
This commit is contained in:
parent
c4dee39efe
commit
88218cd6ec
1 changed files with 6 additions and 4 deletions
|
@ -171,16 +171,18 @@ struct LatestPostsWidgetView : View {
|
||||||
.frame(width: 16, height: 16)
|
.frame(width: 16, height: 16)
|
||||||
}
|
}
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
|
Text(status.account.safeDisplayName)
|
||||||
|
.foregroundStyle(.primary)
|
||||||
if family != .systemSmall {
|
if family != .systemSmall {
|
||||||
Text(status.account.safeDisplayName)
|
Text(" @")
|
||||||
|
.foregroundStyle(.tertiary)
|
||||||
|
Text(status.account.username)
|
||||||
|
.foregroundStyle(.tertiary)
|
||||||
}
|
}
|
||||||
Text(" @")
|
|
||||||
Text(status.account.username)
|
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
.font(.subheadline)
|
.font(.subheadline)
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.foregroundStyle(.secondary)
|
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue