feat: enhance navigation by adding recipe links in inventory and pantry screens
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user