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: replace svgWidget by FlowySv (#3212)

Yijing Huang29431b3038f9
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart b/frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart
index c2f8f2a204..894c1ca91b 100644
--- a/frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/sort/sort_editor.dart
@@ -101,7 +101,8 @@ class DatabaseSortItem extends StatelessWidget {
.add(SortEditorEvent.deleteSort(sortInfo)),
iconPadding: const EdgeInsets.all(5),
hoverColor: AFThemeExtension.of(context).lightGreyHover,
- icon: svgWidget("home/close", color: Theme.of(context).iconTheme.color),
+ icon:
+ FlowySvg(FlowySvgs.close_s, color: Theme.of(context).iconTheme.color),
);
return Row(