Skip to content

Commit

Permalink
PR comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Oct 20, 2023
1 parent 18e86b6 commit 43a2a5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct AppLockScreenViewState: BindableState {
if !isSubtitleWarning {
return L10n.screenAppLockSubtitle
} else {
return L10n.screenAppLockSubtitleWrongPin(3 - numberOfPINAttempts)
return L10n.screenAppLockSubtitleWrongPin(maximumAttempts - numberOfPINAttempts)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ class AppLockScreenViewModel: AppLockScreenViewModelType, AppLockScreenViewModel
case .clearPINCode:
state.bindings.pinCode = ""
case .forgotPIN:
forgotPIN()
handleForgotPIN()
}
}

// MARK: - Private

private func forgotPIN() {
private func handleForgotPIN() {
state.bindings.alertInfo = .init(id: .confirmResetPIN,
title: L10n.screenAppLockSignoutAlertTitle,
message: L10n.screenAppLockSignoutAlertMessage,
Expand Down

0 comments on commit 43a2a5f

Please sign in to comment.