Skip to content

Conversation

@mpivchev
Copy link
Collaborator

When Lock is disabled via Touch/FaceID, it will be disabled, but the UI will not get updated. This PR fixes this issue.

  • Also improved some localization

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the UI state was not properly updated when disabling the passcode lock via Touch ID/Face ID biometric authentication. The fix ensures that the isLockActive binding is set to false when biometric validation successfully disables the lock.

  • Added missing UI state update (parent.isLockActive = false) in the biometric validation success handler
  • Renamed enableTouchID to enableTouchFaceID throughout the codebase for better clarity
  • Added localization footer for the privacy screen section

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
SetupPasscodeView.swift Fixed UI state update by setting parent.isLockActive = false when lock is disabled via biometric auth; improved comment grammar
NCSettingsView.swift Renamed enableTouchID to enableTouchFaceID for consistency; added footer text for privacy screen section
NCSettingsModel.swift Renamed enableTouchID property to enableTouchFaceID throughout the model

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Milen Pivchev <[email protected]>
@nextcloud nextcloud deleted a comment from Copilot AI Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants