Enable blank line rules. (#132)

This commit is contained in:
Doug
2022-07-06 16:01:50 +01:00
committed by GitHub
parent 02eb4b35e2
commit 25d7ba55ad
114 changed files with 0 additions and 184 deletions
@@ -16,7 +16,6 @@ protocol AuthenticationCoordinatorDelegate: AnyObject {
}
class AuthenticationCoordinator: Coordinator, Presentable {
private let authenticationService: AuthenticationServiceProtocol
private let navigationRouter: NavigationRouter
@@ -18,7 +18,6 @@ import SwiftUI
/// An image that is styled for use as the screen icon in the onboarding flow.
struct AuthenticationIconImage: View {
let image: ImageAsset
var body: some View {
@@ -32,7 +32,6 @@ enum LoginCoordinatorAction {
}
final class LoginCoordinator: Coordinator, Presentable {
// MARK: - Properties
// MARK: Private
@@ -85,5 +85,4 @@ extension LoginHomeserver {
isMatrixDotOrg: false,
loginMode: .unsupported)
}
}
@@ -19,7 +19,6 @@ import SwiftUI
typealias LoginViewModelType = StateStoreViewModel<LoginViewState, LoginViewAction>
class LoginViewModel: LoginViewModelType, LoginViewModelProtocol {
// MARK: - Properties
// MARK: Public
@@ -18,7 +18,6 @@ import Foundation
@MainActor
protocol LoginViewModelProtocol {
var callback: (@MainActor(LoginViewModelAction) -> Void)? { get set }
var context: LoginViewModelType.Context { get }
@@ -17,7 +17,6 @@
import SwiftUI
struct LoginScreen: View {
// MARK: - Properties
// MARK: Private
@@ -54,7 +53,6 @@ struct LoginScreen: View {
default:
loginUnavailableText
}
}
.readableFrame()
.padding(.horizontal, 16)
@@ -19,7 +19,6 @@ import SwiftUI
/// A view that shows information about the chosen homeserver,
/// along with an edit button to pick a different one.
struct LoginServerInfoSection: View {
// MARK: - Public
/// The address shown for the server.
@@ -29,7 +29,6 @@ enum ServerSelectionCoordinatorAction {
}
final class ServerSelectionCoordinator: Coordinator, Presentable {
// MARK: - Properties
// MARK: Private
@@ -19,7 +19,6 @@ import SwiftUI
typealias ServerSelectionViewModelType = StateStoreViewModel<ServerSelectionViewState, ServerSelectionViewAction>
class ServerSelectionViewModel: ServerSelectionViewModelType, ServerSelectionViewModelProtocol {
// MARK: - Properties
// MARK: Private
@@ -18,7 +18,6 @@ import Foundation
@MainActor
protocol ServerSelectionViewModelProtocol {
var callback: (@MainActor(ServerSelectionViewModelAction) -> Void)? { get set }
var context: ServerSelectionViewModelType.Context { get }
@@ -17,7 +17,6 @@
import SwiftUI
struct ServerSelectionScreen: View {
// MARK: - Properties
// MARK: Private