Désiré Werner Menrath 709b723a88 fix(encryption): Resolve nullable type issues in toggleLock functions
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.
2025-10-19 01:22:42 +02:00
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
2.4 MiB
Languages
Kotlin 98%
Python 2%