Skip to content

Commit

Permalink
fix: 5247 - now "unselect"ing for the correct language (#5266)
Browse files Browse the repository at this point in the history
Impacted file:
* `background_task_unselect.dart`: use of explicit language instead of default language.
  • Loading branch information
monsieurtanuki authored May 25, 2024
1 parent 8338e90 commit 8758b0e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class BackgroundTaskUnselect extends BackgroundTaskBarcode
BackgroundTaskUnselect._({
required super.processName,
required super.uniqueId,
required OpenFoodFactsLanguage super.language,
required super.barcode,
required super.stamp,
required this.imageField,
Expand Down Expand Up @@ -81,6 +82,7 @@ class BackgroundTaskUnselect extends BackgroundTaskBarcode
BackgroundTaskUnselect._(
uniqueId: uniqueId,
barcode: barcode,
language: language,
processName: _operationType.processName,
imageField: imageField.offTag,
// same stamp as image upload
Expand Down

0 comments on commit 8758b0e

Please sign in to comment.