Skip to content

Commit

Permalink
Update UserProfileView.swift (#150)
Browse files Browse the repository at this point in the history
Co-authored-by: stepanokdev <[email protected]>
  • Loading branch information
IvanStepanok and Stepanokdev authored Nov 6, 2023
1 parent ab942a4 commit 1f51cfe
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -97,10 +99,6 @@ public struct UserProfileView: View {
await viewModel.getUserProfile()
}
}
.background(
Theme.Colors.background
.ignoresSafeArea()
)
}
}

Expand Down

0 comments on commit 1f51cfe

Please sign in to comment.