mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Run SwiftFormat.
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ final class SecureBackupKeyBackupScreenCoordinator: CoordinatorProtocol {
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
}
|
||||
|
||||
|
||||
func toPresentable() -> AnyView {
|
||||
AnyView(SecureBackupKeyBackupScreen(context: viewModel.context))
|
||||
}
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ class SecureBackupKeyBackupScreenViewModel: SecureBackupKeyBackupScreenViewModel
|
||||
var actions: AnyPublisher<SecureBackupKeyBackupScreenViewModelAction, Never> {
|
||||
actionsSubject.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
||||
init(secureBackupController: SecureBackupControllerProtocol, userIndicatorController: UserIndicatorControllerProtocol?) {
|
||||
self.secureBackupController = secureBackupController
|
||||
self.userIndicatorController = userIndicatorController
|
||||
@@ -63,7 +63,7 @@ class SecureBackupKeyBackupScreenViewModel: SecureBackupKeyBackupScreenViewModel
|
||||
}
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
|
||||
private func disableBackup() {
|
||||
Task {
|
||||
switch await secureBackupController.disable() {
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ struct SecureBackupKeyBackupScreen: View {
|
||||
disableBackupSection
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private var disableBackupSection: some View {
|
||||
VStack(spacing: 24) {
|
||||
VStack(spacing: 16) {
|
||||
|
||||
Reference in New Issue
Block a user