mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Run SwiftFormat.
This commit is contained in:
+2
-2
@@ -64,12 +64,12 @@ final class AuthenticationStartScreenCoordinator: CoordinatorProtocol {
|
||||
actionsSubject.send(.login)
|
||||
case .register:
|
||||
actionsSubject.send(.register)
|
||||
|
||||
|
||||
case .loginDirectlyWithOAuth(let data, let window):
|
||||
actionsSubject.send(.loginDirectlyWithOAuth(data: data, window: window))
|
||||
case .loginDirectlyWithPassword(let loginHint):
|
||||
actionsSubject.send(.loginDirectlyWithPassword(loginHint: loginHint))
|
||||
|
||||
|
||||
case .reportProblem:
|
||||
actionsSubject.send(.reportProblem)
|
||||
case .developerOptions:
|
||||
|
||||
+2
-2
@@ -89,14 +89,14 @@ class AuthenticationStartScreenViewModel: AuthenticationStartScreenViewModelType
|
||||
}
|
||||
case .developerOptions:
|
||||
actionsSubject.send(.developerOptions)
|
||||
|
||||
|
||||
case .loginWithQR:
|
||||
actionsSubject.send(.loginWithQR)
|
||||
case .login:
|
||||
Task { await login() }
|
||||
case .register:
|
||||
actionsSubject.send(.register)
|
||||
|
||||
|
||||
case .continueWithClassic(let account):
|
||||
Task { await login(classicAppAccount: account) }
|
||||
case .otherOptions(let account):
|
||||
|
||||
+2
-2
@@ -65,12 +65,12 @@ private struct AuthenticationBrandLogoModifier: ViewModifier {
|
||||
private var isLight: Bool {
|
||||
colorScheme == .light
|
||||
}
|
||||
|
||||
|
||||
/// Extra padding needed to avoid cropping the shadows.
|
||||
private var extra: CGFloat {
|
||||
64 * scale
|
||||
}
|
||||
|
||||
|
||||
/// The shape that the logo is composed on top of.
|
||||
private var outerShape: RoundedRectangle {
|
||||
RoundedRectangle(cornerRadius: 44 * scale)
|
||||
|
||||
Reference in New Issue
Block a user