Skip to content

Commit

Permalink
Merge pull request AppFlowy-IO#12 from LucasXu0/fix_#8
Browse files Browse the repository at this point in the history
fix: AppFlowy-IO#8 SVG display error in the latest version
  • Loading branch information
LucasXu0 authored Mar 15, 2023
2 parents c79d9a9 + 671e6db commit 8dfb9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/infra/flowy_svg.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FlowySvg extends StatelessWidget {
return SvgPicture.asset(
'assets/images/$name.svg',
colorFilter:
color != null ? ColorFilter.mode(color!, BlendMode.color) : null,
color != null ? ColorFilter.mode(color!, BlendMode.srcIn) : null,
fit: BoxFit.fill,
height: height,
width: width,
Expand Down

0 comments on commit 8dfb9a1

Please sign in to comment.