Remove redundant variable
This commit is contained in:
parent
c33631e705
commit
0b47541aee
1 changed files with 1 additions and 2 deletions
|
@ -78,13 +78,12 @@ class _ZoomableImageState extends State<ZoomableImage> {
|
|||
}
|
||||
|
||||
if (_imageProvider != null) {
|
||||
final view = PhotoView(
|
||||
return PhotoView(
|
||||
imageProvider: _imageProvider,
|
||||
scaleStateChangedCallback: _scaleStateChangedCallback,
|
||||
minScale: PhotoViewComputedScale.contained,
|
||||
gaplessPlayback: true,
|
||||
);
|
||||
return view;
|
||||
} else {
|
||||
return loadWidget;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue