Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: fix nested path (#2204)

Yijing Huang72dac29b80d5
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,
);