File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Extensions/BDK+Extensions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ extension CbfClient {
2424 NotificationCenter . default. post (
2525 name: NSNotification . Name ( " KyotoProgressUpdate " ) ,
2626 object: nil ,
27- userInfo: [ " progress " : Float ( 0.2 ) ]
27+ userInfo: [ " progress " : Float ( 1 ) ]
2828 )
2929
3030 components. client. startBackgroundMonitoring ( )
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ struct ActivityHomeHeaderView: View {
7474 Text (
7575 String (
7676 format: " %.0f%% " ,
77- progress * 100
77+ progress
7878 )
7979 )
8080 . contentTransition ( . numericText( ) )
@@ -138,7 +138,7 @@ struct ActivityHomeHeaderView: View {
138138 case . syncing:
139139 if isKyotoClient && progress > 0 {
140140 AnyView (
141- ProgressView ( value: Double ( progress * 100 ) , total: 100 )
141+ ProgressView ( value: Double ( progress) , total: 100 )
142142 . foregroundStyle ( . green)
143143 . frame ( width: 20 )
144144 . animation ( . interactiveSpring, value: progress)
You can’t perform that action at this time.
0 commit comments