Skip to content

Commit

Permalink
feat: 3129 Allow to swipe between product images on the full screen i…
Browse files Browse the repository at this point in the history
…mage view (Conflicts after openfoodfacts#3332)
  • Loading branch information
omkarChend1kar committed Nov 26, 2022
1 parent 3bdad42 commit bde4737
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/smooth_app/lib/pages/image_crop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,4 @@ class _LoadingPage extends StatelessWidget {
),
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ class _OutlinedButton extends StatelessWidget {
label: Text(label),
);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class _ProductImageGalleryViewState extends State<ProductImageGalleryView> {
),
);
Future<void> _newImage(ProductImageData data) async {
final File? croppedImageFile = await startImageCropping(this);
final File? croppedImageFile = await startNewImageCropping(this);
if (croppedImageFile == null) {
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class _ProductImageViewerState extends State<ProductImageViewer> {
),
);
Future<void> _newImage(ProductImageData data) async {
final File? croppedImageFile = await startImageCropping(this);
final File? croppedImageFile = await startNewImageCropping(this);
if (croppedImageFile == null) {
return;
}
Expand Down

0 comments on commit bde4737

Please sign in to comment.