Skip to content

Commit

Permalink
Fixed: Unreliable detection of SVG images
Browse files Browse the repository at this point in the history
Fix #2053
  • Loading branch information
FeodorFitsner committed Nov 10, 2023
1 parent 7e09bdf commit 349b8b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* Fixed: cannot get height and width for page ([#1960](https://github.com/flet-dev/flet/issues/1960)).
* Fixed: Put it the right version of flet ([#1997](https://github.com/flet-dev/flet/issues/1997)).
* Fixed: `Chip.selected` property type changed to bool ([#2048](https://github.com/flet-dev/flet/issues/2048)).
* Fixed: Unreliable detection of SVG images ([#2053](https://github.com/flet-dev/flet/issues/2053)).

# 0.11.0

Expand Down
1 change: 1 addition & 0 deletions package/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Fixed: cannot get height and width for page ([#1960](https://github.com/flet-dev/flet/issues/1960)).
* Fixed: Put it the right version of flet ([#1997](https://github.com/flet-dev/flet/issues/1997)).
* Fixed: `Chip.selected` property type changed to bool ([#2048](https://github.com/flet-dev/flet/issues/2048)).
* Fixed: Unreliable detection of SVG images ([#2053](https://github.com/flet-dev/flet/issues/2053)).

# 0.11.0

Expand Down
2 changes: 1 addition & 1 deletion package/lib/src/controls/image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ImageControl extends StatelessWidget {
final Control control;
final bool parentDisabled;

static const String svgTag = "<svg";
static const String svgTag = " xmlns=\"http://www.w3.org/2000/svg\"";

const ImageControl(
{Key? key,
Expand Down

0 comments on commit 349b8b0

Please sign in to comment.