From 6958abb4ece3f0a43e5ccd78755c342e1a384d92 Mon Sep 17 00:00:00 2001 From: Rizwan Mohamed Ibrahim Date: Wed, 8 Jul 2020 16:10:34 +0530 Subject: [PATCH] Fix account header image alignment and foreground color --- .../iOS/Settings/Accounts/AccountHeaderImageView.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift b/Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift index 5fb6b5578..028df300f 100644 --- a/Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift +++ b/Multiplatform/iOS/Settings/Accounts/AccountHeaderImageView.swift @@ -14,12 +14,15 @@ struct AccountHeaderImageView: View { var body: some View { HStack(alignment: .center) { + Spacer() Image(rsImage: image) .resizable() .scaledToFit() .frame(height: 48, alignment: .center) - .padding() + .foregroundColor(Color.primary) + Spacer() } + .padding(16) } } @@ -30,6 +33,5 @@ struct AccountHeaderImageView_Previews: PreviewProvider { AccountHeaderImageView(image: AppAssets.image(for: .feedbin)!) AccountHeaderImageView(image: AppAssets.accountLocalPadImage) } - } }