@@ -364,7 +364,7 @@ private class BackupSettingsViewModel: ObservableObject {
364364 lastBackupDate: Date ? ,
365365 lastBackupSizeBytes: UInt64 ? ,
366366 backupFrequency: BackupFrequency ,
367- shouldBackUpOnCellular: Bool ,
367+ shouldBackUpOnCellular: Bool
368368 ) {
369369 self . backupPlanLoadingState = . loading
370370 self . areBackupsEnabled = areBackupsEnabled
@@ -888,7 +888,7 @@ private struct BackupEnabledView: View {
888888private extension BackupSettingsViewModel {
889889 static func forPreview(
890890 areBackupsEnabled: Bool = true ,
891- planLoadResult: Result < BackupPlanLoadingState . LoadedBackupPlan , Error > ,
891+ planLoadResult: Result < BackupPlanLoadingState . LoadedBackupPlan , Error >
892892 ) -> BackupSettingsViewModel {
893893 class PreviewActionsDelegate : ActionsDelegate {
894894 private let planLoadResult : Result < BackupPlanLoadingState . LoadedBackupPlan , Error >
@@ -966,7 +966,7 @@ private extension BackupSettingsViewModel {
966966#Preview( " Disabled " ) {
967967 BackupSettingsView ( viewModel: . forPreview(
968968 areBackupsEnabled: false ,
969- planLoadResult: . success( . free) ,
969+ planLoadResult: . success( . free)
970970 ) )
971971}
972972
0 commit comments