06d2b21a1119bc2991f99c6b8db98ea512be98e6
This commit introduces new lock methods for notes, recipes, and shopping lists, allowing users to choose between Password, Biometric, Pattern, and PIN for item protection. Changes include: - Expanded `LockMethod` enum with `PATTERN` and `PIN`. - Updated `ChooseLockMethodDialog` to display new lock options. - Added `lockMethod` field to `Note`, `Recipe`, and `ShoppingList` data classes. - Implemented database migration (version 9 to 10) to support the new `lockMethod` field. - Modified `AppShell.kt` to correctly handle the selection of new lock methods. - Created placeholder dialogs (`SetPatternDialog`, `SetPinDialog`) and ViewModel functions for future implementation of pattern and PIN entry UIs. - Updated `AppTopBar.kt` to show the "Lock" option in the dropdown menu for all item types, triggering the `ChooseLockMethodDialog`.
Description
Noteshop is a versatile and privacy-focused application for managing your notes, shopping lists, and recipes all in one place. It is designed to be simple, efficient, and fully under your control
Languages
Kotlin
98.3%
Python
1.7%