Skip to content

Commit

Permalink
Update packages/patrol_cli/lib/src/crossplatform/app_options.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Maszota <[email protected]>
  • Loading branch information
GChanathip and piotruela authored Nov 26, 2024
1 parent ce328a5 commit b4edb52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/patrol_cli/lib/src/crossplatform/app_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ class AndroidAppOptions {
final effectiveDartDefines = Map<String, String>.of(flutter.dartDefines);

// Add flavor to dart defines
if (flutter.flavor != null) {
effectiveDartDefines['FLUTTER_APP_FLAVOR'] = flutter.flavor!;
if (flutter.flavor case final flavor?) {
effectiveDartDefines['FLUTTER_APP_FLAVOR'] = flavor;
}

// Add Dart defines encoded in base64
Expand Down

0 comments on commit b4edb52

Please sign in to comment.