diff options
Diffstat (limited to 'lib/views/recipe_view.dart')
-rw-r--r-- | lib/views/recipe_view.dart | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/views/recipe_view.dart b/lib/views/recipe_view.dart index faaa0ca..c22ea2b 100644 --- a/lib/views/recipe_view.dart +++ b/lib/views/recipe_view.dart @@ -6,6 +6,7 @@ import 'package:kulinar_app/constants.dart'; import 'package:kulinar_app/views/image_view.dart'; import 'package:kulinar_app/models/recipe_class.dart'; import 'package:kulinar_app/widgets/toastbar_widget.dart'; +import 'package:kulinar_app/widgets/custom_markdown_style.dart'; import 'package:kulinar_app/models/data/recipe_data_class.dart'; import 'package:kulinar_app/widgets/page_route_transitions.dart'; import 'package:kulinar_app/widgets/utility_icon_row_widget.dart'; @@ -130,7 +131,7 @@ class RecipeViewState extends State<RecipeView> { setState(() {}); } - // TODO: FIXME: This might introduce bugs later (sanitize); maybe use FileHandler? + // TODO: This might introduce bugs later (sanitize); maybe use FileHandler? void downloadRecipe(BuildContext context, Recipe recipe) async { RecipeData.recipeList.add(recipe); ToastBar.showToastBar(context, AppLocalizations.of(context)!.downloadSuccess); @@ -274,6 +275,7 @@ class RecipeViewState extends State<RecipeView> { MarkdownBody _buildMarkdownDescription() { return MarkdownBody( + styleSheet: CustomMarkdownStyle.sheet(), data: _controller2.text, selectable: true, onTapLink: (text, href, title) => {}, |