Fix refresh progress compile error
This commit is contained in:
parent
deee6c13f5
commit
367bd90ec9
|
@ -13,7 +13,7 @@ struct RefreshProgressView: View {
|
||||||
@EnvironmentObject private var refreshProgress: RefreshProgressModel
|
@EnvironmentObject private var refreshProgress: RefreshProgressModel
|
||||||
|
|
||||||
@ViewBuilder var body: some View {
|
@ViewBuilder var body: some View {
|
||||||
switch refreshProgress.refreshProgressState {
|
switch refreshProgress.state {
|
||||||
case .refreshProgress(let progress):
|
case .refreshProgress(let progress):
|
||||||
ProgressView(value: progress)
|
ProgressView(value: progress)
|
||||||
.frame(width: progressViewWidth())
|
.frame(width: progressViewWidth())
|
||||||
|
|
Loading…
Reference in New Issue