recipes can be added to db from createpage

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

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();
}