UI improvements

This commit is contained in:
Justin Mazzocchi 2020-09-10 17:57:22 -07:00
parent 1d425a97f0
commit 7d0feaac54
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -30,14 +30,13 @@ struct AddIdentityView: View {
} }
if let instance = viewModel.instance { if let instance = viewModel.instance {
Section { Section {
VStack(alignment: .center) {
KFImage(instance.thumbnail) KFImage(instance.thumbnail)
.placeholder { .placeholder {
ProgressView() ProgressView()
} }
.resizable() .resizable()
.scaledToFit() .aspectRatio(16 / 9, contentMode: .fill)
.listRowInsets(EdgeInsets())
VStack(alignment: .center) {
Text(instance.title) Text(instance.title)
.font(.headline) .font(.headline)
Text(instance.uri) Text(instance.uri)