Skip to content

Commit

Permalink
Mark problem with image saving on web
Browse files Browse the repository at this point in the history
  • Loading branch information
Alienjob committed Dec 28, 2023
1 parent 8a4d16f commit cf4f9cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/ui/page/home/widget/gallery_popup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,12 @@ class _GalleryPopupState extends State<GalleryPopup>
constraints:
const BoxConstraints(minWidth: 1, minHeight: 1),
child: PlatformUtils.isWeb
? WebImage(e.link, onForbidden: e.onError)
? WebImage(
e.link,
onForbidden: e.onError,
// TODO: Wait for HTML to support specifying download name:
// https://github.com/whatwg/html/issues/2722
)
: RetryImage(
e.link,
width: e.width?.toDouble(),
Expand Down

0 comments on commit cf4f9cf

Please sign in to comment.