From 34ab36629b63d02e467679af5b5ed7d793cc277d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1rady=20Mil=C3=A1n?= <61704770+MilanVarady@users.noreply.github.com> Date: Wed, 1 Jan 2025 23:40:18 +0100 Subject: [PATCH] Make progress bar smaller --- .../App Views/App View/AppView+ActionsView.swift | 16 +++++++++------- Applite/Views/App Views/App View/AppView.swift | 1 - 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Applite/Views/App Views/App View/AppView+ActionsView.swift b/Applite/Views/App Views/App View/AppView+ActionsView.swift index e987d4e..11cf305 100644 --- a/Applite/Views/App Views/App View/AppView+ActionsView.swift +++ b/Applite/Views/App Views/App View/AppView+ActionsView.swift @@ -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") diff --git a/Applite/Views/App Views/App View/AppView.swift b/Applite/Views/App Views/App View/AppView.swift index 4c5a2ff..9883142 100755 --- a/Applite/Views/App Views/App View/AppView.swift +++ b/Applite/Views/App Views/App View/AppView.swift @@ -6,7 +6,6 @@ // import SwiftUI -import CircularProgress /// App view role enum AppRole {