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
@@ -26,7 +26,7 @@ final class EncryptionResetScreenCoordinator: CoordinatorProtocol {
private let viewModel: EncryptionResetScreenViewModelProtocol
private var cancellables = Set<AnyCancellable>()
private let actionsSubject: PassthroughSubject<EncryptionResetScreenCoordinatorAction, Never> = .init()
var actionsPublisher: AnyPublisher<EncryptionResetScreenCoordinatorAction, Never> {
actionsSubject.eraseToAnyPublisher()
@@ -60,7 +60,7 @@ final class EncryptionResetScreenCoordinator: CoordinatorProtocol {
func stop() {
viewModel.stop()
}
func toPresentable() -> AnyView {
AnyView(EncryptionResetScreen(context: viewModel.context))
}
@@ -35,7 +35,7 @@ struct EncryptionResetScreenViewState: BindableState {
AttributedString(L10n.screenCreateNewRecoveryKeyListItem5)
]
}
var bindings: EncryptionResetScreenViewStateBindings
}
@@ -23,7 +23,7 @@ class EncryptionResetScreenViewModel: EncryptionResetScreenViewModelType, Encryp
private var identityResetHandle: IdentityResetHandle?
private var passwordCancellable: AnyCancellable?
init(clientProxy: ClientProxyProtocol, userIndicatorController: UserIndicatorControllerProtocol) {
self.clientProxy = clientProxy
self.userIndicatorController = userIndicatorController
@@ -69,7 +69,7 @@ struct EncryptionResetScreen: View {
.frame(maxWidth: .infinity)
.environment(\.backgroundStyle, AnyShapeStyle(.compound.bgSubtleSecondary))
}
private func checkMarkItem(title: String, position: ListPosition, positive: Bool) -> some View {
VisualListItem(title: title, position: position) {
CompoundIcon(positive ? \.check : \.info)