From 18198bbdfe673376a4d8379c1dadb2e90031c618 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 24 Sep 2022 02:39:04 -0400 Subject: [PATCH] Tiny bugfix in default source-specific options --- lib/main.dart | 2 +- lib/pages/add_app.dart | 4 +++- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index db380db..00ad44b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -13,7 +13,7 @@ import 'package:dynamic_color/dynamic_color.dart'; import 'package:device_info_plus/device_info_plus.dart'; const String currentReleaseTag = - 'v0.3.0-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES + 'v0.3.1-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES @pragma('vm:entry-point') void bgTaskCallback() { diff --git a/lib/pages/add_app.dart b/lib/pages/add_app.dart index e635643..e8a909c 100644 --- a/lib/pages/add_app.dart +++ b/lib/pages/add_app.dart @@ -71,7 +71,9 @@ class _AddAppPageState extends State { : null; if (pickedSource != source) { pickedSource = source; - additionalData = []; + additionalData = source != null + ? source.additionalDataDefaults + : []; validAdditionalData = source != null ? sourceProvider .doesSourceHaveRequiredAdditionalData( diff --git a/pubspec.yaml b/pubspec.yaml index 433a6f0..2b7a7c5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.3.0+16 # When changing this, update the tag in main() accordingly +version: 0.3.1+17 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.19.0-79.0.dev <3.0.0'