Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Pull request overview
This PR updates onboarding/settings copy to support both Face ID and Touch ID (biometry) via format placeholders, and adds a Touch ID illustration asset.
Changes:
- Replaced Face ID–specific localization keys with biometry-based keys using
%@placeholders across supported locales. - Added Touch ID illustration assets (light/dark SVG) to the asset catalog.
- Updated onboarding and settings UI to choose the appropriate biometry slide/label.
Reviewed changes
Copilot reviewed 18 out of 20 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| AuthenticatorResources/Localizable/sv.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/pt.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/pl.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/nl.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/nb.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/it.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/fr.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/fi.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/es.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/en.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/el.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/de.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Localizable/da.lproj/Localizable.strings | Replace Face ID onboarding/unlock strings with biometry placeholder keys |
| AuthenticatorResources/Images.xcassets/Illustrations/touch-id.imageset/touch-id-light.svg | Add Touch ID light SVG illustration |
| AuthenticatorResources/Images.xcassets/Illustrations/touch-id.imageset/touch-id-dark.svg | Add Touch ID dark SVG illustration |
| AuthenticatorResources/Images.xcassets/Illustrations/touch-id.imageset/Contents.json | Register Touch ID SVGs in the asset catalog |
| AuthenticatorFeatures/SettingsView/ToggleAppLockSettingsView.swift | Update app-lock toggle label to use biometry placeholder formatting |
| AuthenticatorFeatures/OnboardingView/OnboardingTextBottomView.swift | Make init(title:description:) accessible for formatted strings |
| AuthenticatorFeatures/OnboardingView/OnboardingSlides.swift | Select Face ID vs Touch ID slide and use formatted biometry strings |
| AuthenticatorCore/Constants.swift | Add a helper LAContext factory for determining biometry type |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Failed to generate code suggestions for PR |
f365d2b to
3e6365c
Compare
|
Failed to generate code suggestions for PR |
| return .onboardingSuccessSlide | ||
| case .biometry: | ||
| return .onboardingFaceIdSlide | ||
| return Constants.biometryContext.biometryType == .faceID ? .onboardingFaceIdSlide : .onboardingTouchIdSlide |
There was a problem hiding this comment.
Maybe we should handle the case where it's neither Face ID nor Touch ID
There was a problem hiding this comment.
Actually, it will display the Touch ID icon, but the sentence will be correct.
I thought the Touch ID icon was somewhat universal for "biometry" stuff.
3e6365c to
a7f990e
Compare
|



This fix the strings for biometry instead of faceID in the app