last year
bec7506This commit introduces a biometric lock feature for the settings in YAM Launcher, enhancing security. Users can now choose to lock their settings, requiring biometric authentication (fingerprint, face ID, etc.) to access them. Key changes include: - Added a "Lock Settings" switch preference in the settings menu. - Implemented biometric authentication using the BiometricPrompt API. - Modified the settings access logic in MainActivity to check the lock status and initiate biometric authentication if necessary. - Added BiometricUtils class to encapsulate biometric authentication logic. - Updated dependencies in build.gradle.kts to use Java 17 and compile SDK 36. - Improved code readability by using Kotlin's apply and edit extension functions for SharedPreferences, and by adding KTX dependencies.
Parent51df645