Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • responsive-ui
  • v0.4.0
  • v0.3.22
  • v0.3.6
  • v0.3.4
  • v0.3.5
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
  • v0.2.9
  • v0.2.8
  • v0.2.7
  • v0.2.6
  • 0.1
16 results

eslint.config.js

Blame
  • BackupSetupViewModel.swift 462 B
    import UIKit
    import Models
    import Shared
    import Combine
    import GoogleDriveFeature
    import DependencyInjection
    
    struct BackupSetupViewModel {
        var didTapService: (CloudService, UIViewController) -> Void
    }
    
    extension BackupSetupViewModel {
        static func live() -> Self {
            class Context {
                @Dependency var service: BackupService
            }
    
            let context = Context()
            return .init(didTapService: context.service.authorize)
        }
    }