feat: enhance navigation by adding recipe links in inventory and pantry screens

This commit is contained in:
Nils-Johan Gynther
2026-04-24 14:13:26 +02:00
parent a39640d4ea
commit 13a0ab3584
7 changed files with 42 additions and 10 deletions
@@ -83,7 +83,7 @@ class _RecipeImportTabState extends ConsumerState<RecipeImportTab> {
context.push('/recipes/create', extra: <String, dynamic>{
'markdown': result.markdown,
'imageUrl': result.imageUrl,
});
}).then((_) => context.go('/recipes'));
} catch (e) {
if (!mounted) return;
setState(() => _error = mapErrorToUserMessage(e, context));