Update Settings for Accounts to work with the latest SwiftUI

This commit is contained in:
Maurice Parker
2019-09-07 20:50:57 -05:00
parent a01b9ebe73
commit fe874f3ca7
8 changed files with 215 additions and 170 deletions

View File

@@ -14,19 +14,13 @@ struct SettingsAccountLabelView : View {
var body: some View {
HStack {
Spacer()
HStack {
Image(accountImage)
.resizable()
.aspectRatio(1, contentMode: .fit)
.frame(height: 32)
Text(verbatim: accountLabel).font(.title)
}
.layoutPriority(1)
Spacer()
Image(accountImage)
.resizable()
.aspectRatio(1, contentMode: .fit)
.frame(height: 32)
Text(verbatim: accountLabel).font(.title)
}
.foregroundColor(.primary)
.foregroundColor(.primary).padding(4.0)
}
}