From df6ab72820cbf49db24bd8c5faec8562c1295e92 Mon Sep 17 00:00:00 2001 From: Anton Yarmolenko <37253+rnr@users.noreply.github.com> Date: Thu, 7 Nov 2024 13:11:23 +0100 Subject: [PATCH] chore: moved progress to correct place --- .../Presentation/AllCoursesView.swift | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dashboard/Dashboard/Presentation/AllCoursesView.swift b/Dashboard/Dashboard/Presentation/AllCoursesView.swift index d8dd1d837..6ea0144dc 100644 --- a/Dashboard/Dashboard/Presentation/AllCoursesView.swift +++ b/Dashboard/Dashboard/Presentation/AllCoursesView.swift @@ -103,16 +103,16 @@ public struct AllCoursesView: View { .padding(10) .frameLimit(width: proxy.size.width) } - // MARK: - ProgressBar - if viewModel.nextPage <= viewModel.totalPages, !viewModel.refresh { - VStack(alignment: .center) { - ProgressBar(size: 40, lineWidth: 8) - .padding(.top, 20) - }.frame(maxWidth: .infinity, - maxHeight: .infinity) - } - VStack {}.frame(height: 40) } + // MARK: - ProgressBar + if viewModel.nextPage <= viewModel.totalPages, !viewModel.refresh { + VStack(alignment: .center) { + ProgressBar(size: 40, lineWidth: 8) + .padding(.top, 20) + }.frame(maxWidth: .infinity, + maxHeight: .infinity) + } + VStack {}.frame(height: 40) } } .refreshable {