Skip to content

Commit

Permalink
Make progress bar smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
milanvarady committed Jan 1, 2025
1 parent 3f2296e commit 34ab366
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 9 additions & 7 deletions Applite/Views/App Views/App View/AppView+ActionsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ extension AppView {
.scaleEffect(0.8)

case .downloading(let percent):
CircularProgressView(count: Int(percent * 100),
total: 100,
progress: CGFloat(percent),
fontOne: Font.system(size: 16).bold(),
lineWidth: 6,
showBottomText: false)
.frame(width: 40, height: 40)
CircularProgressView(
count: Int(percent * 100),
total: 100,
progress: CGFloat(percent),
fontOne: .system(size: 14, weight: .black),
lineWidth: 4,
showBottomText: false
)
.frame(width: 36, height: 36)

case .success:
Image(systemName: "checkmark")
Expand Down
1 change: 0 additions & 1 deletion Applite/Views/App Views/App View/AppView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import SwiftUI
import CircularProgress

/// App view role
enum AppRole {
Expand Down

0 comments on commit 34ab366

Please sign in to comment.