Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
khhily committed Apr 9, 2022
1 parent 23063d5 commit 875afa5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/photo_view_wrappers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ class _ImageWrapperState extends State<ImageWrapper> {

// retrieve image from the provider
void _resolveImage() {
if (!_loading) {
setState(() {
_loading = true;
});
}
final ImageStream newStream = widget.imageProvider.resolve(
const ImageConfiguration(),
);
Expand Down

0 comments on commit 875afa5

Please sign in to comment.