Skip to content

Commit

Permalink
Merge branch 'part-4-sync-to-upstream' into part-4-with-courseRawImage
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Nov 7, 2024
2 parents 99b75d6 + df6ab72 commit a5d9ab6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dashboard/Dashboard/Presentation/AllCoursesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,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 {
Expand Down

0 comments on commit a5d9ab6

Please sign in to comment.