IOS-1602 LoginViewModel has access to MMS. IOS-1602
authorDirk Zimmermann <dz@pep.security>
Tue, 28 May 2019 15:38:20 +0200
branchIOS-1602
changeset 8833f2bdcc358632
parent 8832 51c3e6ec387e
child 8834 ad8eb0a7e341
IOS-1602 LoginViewModel has access to MMS.
pEpForiOS/UI/Login/LoginViewController.swift
pEpForiOS/UI/Login/ViewModel/LoginViewModel.swift
     1.1 --- a/pEpForiOS/UI/Login/LoginViewController.swift	Tue May 28 15:38:20 2019 +0200
     1.2 +++ b/pEpForiOS/UI/Login/LoginViewController.swift	Tue May 28 15:38:20 2019 +0200
     1.3 @@ -87,6 +87,7 @@
     1.4  
     1.5      override func viewDidLoad() {
     1.6          super.viewDidLoad()
     1.7 +        loginViewModel.messageModelService = appConfig.messageModelService
     1.8          loginViewModel.loginViewModelLoginErrorDelegate = self
     1.9          loginViewModel.loginViewModelOAuth2ErrorDelegate = self
    1.10          configureView()
     2.1 --- a/pEpForiOS/UI/Login/ViewModel/LoginViewModel.swift	Tue May 28 15:38:20 2019 +0200
     2.2 +++ b/pEpForiOS/UI/Login/ViewModel/LoginViewModel.swift	Tue May 28 15:38:20 2019 +0200
     2.3 @@ -52,6 +52,8 @@
     2.4  
     2.5      let qualifyServerService = QualifyServerIsLocalService()
     2.6  
     2.7 +    var messageModelService: MessageModelService? = nil
     2.8 +
     2.9      init(verifiableAccount: VerifiableAccountProtocol? = nil) {
    2.10          self.verifiableAccount = verifiableAccount
    2.11      }