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 {
24
24
NotificationCenter . default. post (
25
25
name: NSNotification . Name ( " KyotoProgressUpdate " ) ,
26
26
object: nil ,
27
- userInfo: [ " progress " : Float ( 0.2 ) ]
27
+ userInfo: [ " progress " : Float ( 1 ) ]
28
28
)
29
29
30
30
components. client. startBackgroundMonitoring ( )
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ struct ActivityHomeHeaderView: View {
74
74
Text (
75
75
String (
76
76
format: " %.0f%% " ,
77
- progress * 100
77
+ progress
78
78
)
79
79
)
80
80
. contentTransition ( . numericText( ) )
@@ -138,7 +138,7 @@ struct ActivityHomeHeaderView: View {
138
138
case . syncing:
139
139
if isKyotoClient && progress > 0 {
140
140
AnyView (
141
- ProgressView ( value: Double ( progress * 100 ) , total: 100 )
141
+ ProgressView ( value: Double ( progress) , total: 100 )
142
142
. foregroundStyle ( . green)
143
143
. frame ( width: 20 )
144
144
. animation ( . interactiveSpring, value: progress)
You can’t perform that action at this time.
0 commit comments