Skip to content

Commit

Permalink
Rephrased comments
Browse files Browse the repository at this point in the history
  • Loading branch information
findus committed Oct 25, 2024
1 parent d524b01 commit f675cd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/quickunlock/TouchID.mm
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ inline CFMutableDictionaryRef makeDictionary() {

// We need both runtime and compile time checks here to solve the following problems:
// - Not all flags are available in all OS versions, so we have to check it at compile time
// - Requesting Biometry/TouchID when to fingerprint sensor is available will result in runtime error
SecAccessControlCreateFlags accessControlFlags = 0;
#if XC_COMPILER_SUPPORT(APPLE_BIOMETRY)
// Prefer the non-deprecated flag when available
Expand Down Expand Up @@ -271,7 +270,7 @@ inline CFMutableDictionaryRef makeDictionary() {
return m_encryptedMasterKeys.contains(dbUuid);
}

//! @return true if either TouchID or Apple Watch is available at the moment.
//! @return always true. If TouchID and Apple Watch is unavailable it will fallback to device password auth
bool TouchID::isAvailable() const
{
return true;
Expand Down

0 comments on commit f675cd3

Please sign in to comment.