Skip to content

Commit

Permalink
Fix progress view
Browse files Browse the repository at this point in the history
  • Loading branch information
bourvill committed Mar 30, 2023
1 parent a56af2c commit b498adb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions App/Features/Sync/RefreshButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ struct RefreshButton: View {
HStack {
if appSync.inProgress {
ProgressView(value: appSync.progress, total: 100)
#if os(iOS)
.progressViewStyle(.linear)
#else
.progressViewStyle(.circular)
#endif
} else {
Button(
action: appSync.requestSync,
Expand Down

0 comments on commit b498adb

Please sign in to comment.