From 7d0feaac54f798f69a6fbc3bf4c3e7b379e1bed8 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Thu, 10 Sep 2020 17:57:22 -0700 Subject: [PATCH] UI improvements --- Views/AddIdentityView.swift | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Views/AddIdentityView.swift b/Views/AddIdentityView.swift index a72296f..513ebc3 100644 --- a/Views/AddIdentityView.swift +++ b/Views/AddIdentityView.swift @@ -30,14 +30,13 @@ struct AddIdentityView: View { } if let instance = viewModel.instance { Section { - KFImage(instance.thumbnail) - .placeholder { - ProgressView() - } - .resizable() - .scaledToFit() - .listRowInsets(EdgeInsets()) VStack(alignment: .center) { + KFImage(instance.thumbnail) + .placeholder { + ProgressView() + } + .resizable() + .aspectRatio(16 / 9, contentMode: .fill) Text(instance.title) .font(.headline) Text(instance.uri)