We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6141062 commit 93e2b8fCopy full SHA for 93e2b8f
Authenticator/Source/ProgressRingView.swift
@@ -84,6 +84,9 @@ class ProgressRingView: UIView {
84
let animation = CABasicAnimation(keyPath: path)
85
let now = layer.convertTime(CACurrentMediaTime(), from: nil)
86
animation.beginTime = now + viewModel.startTime.timeIntervalSinceNow
87
+ if CommandLine.isDemo {
88
+ animation.beginTime -= DisplayTime.demoTime.date.timeIntervalSinceNow
89
+ }
90
animation.duration = viewModel.duration
91
animation.fromValue = 0
92
animation.toValue = 1
0 commit comments