Fix background of ServerList elements when using bigger fonts with Dynamic Type

This commit is contained in:
David Cordero 2022-01-17 20:48:17 +01:00
parent c4a3670cec
commit 796c114f51
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ struct ServerListView: View {
ZStack(alignment: Alignment.leading) {
Rectangle()
.foregroundColor(Color(UIColor.secondarySystemFill))
.frame(height: 100)
.cornerRadius(10)
HStack(spacing: 10) {
@ -48,7 +47,7 @@ struct ServerListView: View {
.font(.footnote)
.foregroundColor(.primary)
}
}.padding([.leading])
}.padding()
}
.padding()
}