recipes can be added to db from createpage

This commit is contained in:
SomnusVeritas committed 2023-11-13 17:57:38 +01:00
1 parent 384744729b
commit 64e983bc59
5 files changed
+25 -6

No files matched your search

+2
View File
@@ -30,4 +30,6 @@ class DbHelper {
static bool deleteRecipe(Recipe recipe) {
return _isar.write((isar) => isar.recipes.delete(recipe.id));
}
static Stream<void> get recipesChangedStream => _isar.recipes.watchLazy();
}