Skip to content

Commit

Permalink
fix: 3844 - same "picture not found" widget for OCR and gallery (#3846)
Browse files Browse the repository at this point in the history
Impacted file:
* `edit_ingredients_page.dart`: same "picture not found" widget as in gallery
  • Loading branch information
monsieurtanuki committed Apr 6, 2023
1 parent 1bb4a47 commit 3451ac2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import 'package:smooth_app/database/local_database.dart';
import 'package:smooth_app/database/transient_file.dart';
import 'package:smooth_app/generic_lib/design_constants.dart';
import 'package:smooth_app/generic_lib/loading_dialog.dart';
import 'package:smooth_app/generic_lib/widgets/picture_not_found.dart';
import 'package:smooth_app/helpers/analytics_helper.dart';
import 'package:smooth_app/helpers/product_cards_helper.dart';
import 'package:smooth_app/pages/product/ocr_helper.dart';
Expand Down Expand Up @@ -185,9 +186,9 @@ class _EditOcrPageState extends State<EditOcrPage> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Icon(
Icons.image_not_supported,
size: size.height / 4,
SizedBox(
height: size.height / 4,
child: const PictureNotFound(),
),
Text(
appLocalizations.ocr_image_upload_instruction,
Expand Down

0 comments on commit 3451ac2

Please sign in to comment.