Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
@@ -17,7 +17,7 @@ enum UserIndicatorType: Equatable {
static var toast: Self {
.toast(progress: .none)
}
static var modal: Self {
.modal(progress: .indeterminate, interactiveDismissDisabled: false, allowsInteraction: false)
}
@@ -54,7 +54,7 @@ class UserIndicatorController: ObservableObject, UserIndicatorControllerProtocol
guard delayedIndicators.contains(indicator.id) else {
return
}
enqueue(indicator: indicator)
}
} else {
@@ -85,7 +85,7 @@ class UserIndicatorController: ObservableObject, UserIndicatorControllerProtocol
}
// MARK: - Private
private func enqueue(indicator: UserIndicator) {
retractIndicatorWithId(indicator.id)
indicatorQueue.append(indicator)
@@ -13,7 +13,7 @@ import SwiftUI
struct UserIndicatorModalView: View {
let indicator: UserIndicator
@State private var progressFraction = 0.0
var body: some View {
ZStack {
VStack(spacing: 12.0) {
@@ -22,7 +22,7 @@ struct UserIndicatorModalView: View {
} else if case .published = indicator.progress {
ProgressView(value: progressFraction)
}
HStack(spacing: 8) {
if let icon = indicator.icon {
CompoundIcon(icon, size: iconSize, relativeTo: titleFont)