Set constant font size
This commit is contained in:
parent
7deae7f160
commit
7f529e307c
|
@ -49,7 +49,7 @@ private struct ImageAvatar: ViewModifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(displayName ?? "")
|
Text(displayName ?? "")
|
||||||
.font(.subheadline)
|
.font(.system(size: 15))
|
||||||
.foregroundColor(.white.opacity(0.8))
|
.foregroundColor(.white.opacity(0.8))
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.shadow(color: .black, radius: 2)
|
.shadow(color: .black, radius: 2)
|
||||||
|
|
|
@ -29,7 +29,7 @@ struct LargeWidgetView: View {
|
||||||
.avatar(size: 24)
|
.avatar(size: 24)
|
||||||
|
|
||||||
Text(entry.displayName ?? "")
|
Text(entry.displayName ?? "")
|
||||||
.font(.subheadline)
|
.font(.system(size: 15))
|
||||||
.foregroundColor(.white.opacity(0.8))
|
.foregroundColor(.white.opacity(0.8))
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.shadow(color: .black, radius: 2)
|
.shadow(color: .black, radius: 2)
|
||||||
|
|
|
@ -29,7 +29,7 @@ struct MediumWidgetView: View {
|
||||||
.avatar(size: 24)
|
.avatar(size: 24)
|
||||||
|
|
||||||
Text(entry.displayName ?? "")
|
Text(entry.displayName ?? "")
|
||||||
.font(.subheadline)
|
.font(.system(size: 15))
|
||||||
.foregroundColor(.white.opacity(0.8))
|
.foregroundColor(.white.opacity(0.8))
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.shadow(color: .black, radius: 2)
|
.shadow(color: .black, radius: 2)
|
||||||
|
|
Loading…
Reference in New Issue