Set constant font size

This commit is contained in:
Marcin Czachursk 2023-04-11 07:41:57 +02:00
parent 7deae7f160
commit 7f529e307c
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ private struct ImageAvatar: ViewModifier {
}
Text(displayName ?? "")
.font(.subheadline)
.font(.system(size: 15))
.foregroundColor(.white.opacity(0.8))
.fontWeight(.semibold)
.shadow(color: .black, radius: 2)

View File

@ -29,7 +29,7 @@ struct LargeWidgetView: View {
.avatar(size: 24)
Text(entry.displayName ?? "")
.font(.subheadline)
.font(.system(size: 15))
.foregroundColor(.white.opacity(0.8))
.fontWeight(.semibold)
.shadow(color: .black, radius: 2)

View File

@ -29,7 +29,7 @@ struct MediumWidgetView: View {
.avatar(size: 24)
Text(entry.displayName ?? "")
.font(.subheadline)
.font(.system(size: 15))
.foregroundColor(.white.opacity(0.8))
.fontWeight(.semibold)
.shadow(color: .black, radius: 2)