From 1f51cfe8e771545d9dc51af2433c18bd6a562718 Mon Sep 17 00:00:00 2001 From: IvanStepanok <128456094+IvanStepanok@users.noreply.github.com> Date: Mon, 6 Nov 2023 18:19:08 +0200 Subject: [PATCH] Update UserProfileView.swift (#150) Co-authored-by: stepanokdev <100592747+Stepanokdev@users.noreply.github.com> --- .../Presentation/Profile/UserProfile/UserProfileView.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Profile/Profile/Presentation/Profile/UserProfile/UserProfileView.swift b/Profile/Profile/Presentation/Profile/UserProfile/UserProfileView.swift index da5a7f9dc..17fc43bae 100644 --- a/Profile/Profile/Presentation/Profile/UserProfile/UserProfileView.swift +++ b/Profile/Profile/Presentation/Profile/UserProfile/UserProfileView.swift @@ -19,6 +19,8 @@ public struct UserProfileView: View { public var body: some View { ZStack(alignment: .top) { + Theme.Colors.background + .ignoresSafeArea() // MARK: - Page Body RefreshableScrollViewCompat(action: { await viewModel.getUserProfile(withProgress: false) @@ -97,10 +99,6 @@ public struct UserProfileView: View { await viewModel.getUserProfile() } } - .background( - Theme.Colors.background - .ignoresSafeArea() - ) } }