fix: fix nested path (#2204)

This commit is contained in:
Yijing Huang 2023-04-05 17:39:29 -05:00 committed by GitHub
parent c45c0a8cff
commit 72dac29b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
);