From c3b9ccf2f3463bb4607b22c07c159625ad816561 Mon Sep 17 00:00:00 2001 From: stepanokdev <100592747+Stepanokdev@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:51:17 +0200 Subject: [PATCH] Update UserProfileView.swift --- .../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() - ) } }