Remove iOS 13/14 checks from Template/Onboarding/Authentication.

This commit is contained in:
Doug
2022-05-10 11:23:42 +01:00
committed by Doug
parent edd551d6d8
commit cc0286ff3d
111 changed files with 44 additions and 213 deletions
@@ -16,12 +16,10 @@
import Foundation
@available(iOS 14.0, *)
protocol AuthenticationServiceDelegate: AnyObject {
func authenticationServiceDidUpdateRegistrationParameters(_ authenticationService: AuthenticationService)
}
@available(iOS 14.0, *)
class AuthenticationService: NSObject {
/// The shared service object.
@@ -17,7 +17,6 @@
import Foundation
import MatrixSDK
@available(iOS 14.0, *)
struct AuthenticationState {
// var serverType: ServerType = .unknown
var flow: AuthenticationFlow
@@ -16,7 +16,6 @@
import Foundation
@available(iOS 14.0, *)
/// Set of methods to be able to create an account on a homeserver.
///
/// Common scenario to register an account successfully: