Skip to content

Commit

Permalink
chore: resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eyatsenkoperpetio committed Feb 12, 2024
1 parent 1148663 commit 10e1847
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
10 changes: 0 additions & 10 deletions Core/Core/View/Base/DownloadView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ public enum DownloadViewState {
case finished
}


public struct CircleProgressView: View {
public init () {
}

public var body: some View {
ProgressBar(size: 30, lineWidth: 1.75)
}
}

public struct DownloadAvailableView: View {
public init () {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public struct CourseContainerView: View {

case course
case videos
case dates
case discussion
case dates
case handounds

var title: String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ struct CourseStructureNestedListView: View {
manager: viewModel.manager
)
} label: {
CircleProgressView()
.accessibilityElement(children: .ignore)
.accessibilityLabel(CourseLocalization.Accessibility.cancelDownload)
ProgressBar(size: 30, lineWidth: 1.75)
}
}
case .finished:
Expand Down

0 comments on commit 10e1847

Please sign in to comment.