Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
@@ -48,7 +48,7 @@ final class AppLockScreenCoordinator: CoordinatorProtocol {
}
.store(in: &cancellables)
}
func toPresentable() -> AnyView {
AnyView(AppLockScreen(context: viewModel.context))
}
@@ -30,12 +30,12 @@ struct AppLockScreenViewState: BindableState {
var numberOfDigitsEntered: Int {
bindings.pinCode.count
}
/// Whether the subtitle is in a warning state or not.
var isSubtitleWarning: Bool {
numberOfPINAttempts > 0
}
/// The string shown in the screen's subtitle.
var subtitle: String {
if !isSubtitleWarning {
@@ -18,7 +18,7 @@ class AppLockScreenViewModel: AppLockScreenViewModelType, AppLockScreenViewModel
var actions: AnyPublisher<AppLockScreenViewModelAction, Never> {
actionsSubject.eraseToAnyPublisher()
}
init(appLockService: AppLockServiceProtocol) {
self.appLockService = appLockService