From 72dac29b80d52dd178141ce208045ef0e8d719a9 Mon Sep 17 00:00:00 2001 From: Yijing Huang Date: Wed, 5 Apr 2023 17:39:29 -0500 Subject: [PATCH] fix: fix nested path (#2204) --- frontend/appflowy_flutter/packages/flowy_infra/lib/image.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/appflowy_flutter/packages/flowy_infra/lib/image.dart b/frontend/appflowy_flutter/packages/flowy_infra/lib/image.dart index 7a060fc185..6a0c3b8d3b 100644 --- a/frontend/appflowy_flutter/packages/flowy_infra/lib/image.dart +++ b/frontend/appflowy_flutter/packages/flowy_infra/lib/image.dart @@ -12,7 +12,7 @@ class FlowySvg extends StatelessWidget { @override Widget build(BuildContext context) { return svgWidget( - 'assets/images/$name.svg', + name, size: size, color: Theme.of(context).iconTheme.color, );