709b723a88651df4536a16c265e1d801a1df0c5b
This commit addresses build errors related to nullable types in the `toggle...Lock` functions across `RecipesViewModel`, `NotesViewModel`, and `ShoppingListsViewModel`. - The `fileEncryptor` parameter in `toggleRecipeLock` and `toggleNoteLock` was incorrectly marked as nullable, leading to compilation failures. This has been corrected to `FileEncryptor` (non-nullable). - The `secretKey` parameter, although nullable in the function signature, is guaranteed to be non-null within the encryption/decryption logic due to an early null check. Non-null asserted calls (`!!`) are now used for `secretKey` when passed to `fileEncryptor.encrypt` and `fileEncryptor.decrypt` to resolve argument type mismatches.
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%
Python
2%