Skip to content

Commit

Permalink
fix: openfoodfacts#1538 - refactoring of image cropper
Browse files Browse the repository at this point in the history
Impacted files:
* `confirm_and_upload_picture.dart`: minor refactoring.
* `image_crop_page.dart`: rather heavy refactoring needed to move forward.
  • Loading branch information
monsieurtanuki committed Aug 29, 2022
1 parent f94e5c8 commit f839692
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/smooth_app/lib/pages/image_crop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:smooth_app/generic_lib/dialogs/smooth_alert_dialog.dart';
/// Returns the file path of an image after it's been cropped.
///
/// This is the "old" problematic version; to be rapidly changed.
/// Remove: (stupid comment to trigger a PR)
Future<String?> getCroppedPath(
final BuildContext context,
final String inputPath,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ class _ConfirmAndUploadPictureState extends State<ConfirmAndUploadPicture> {
),
),
onPressed: () async {
// Remove: (stupid comment to trigger a PR)
retakenPhoto = await startImageCroppingNoPick(
context,
existingImage: photo,
Expand Down

0 comments on commit f839692

Please sign in to comment.