From 22dd8253a95234b1c40a281d9bc27f1fb48ea130 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 24 Sep 2022 02:49:37 -0400 Subject: [PATCH] Tiny bugfix with setting visual persistance --- lib/main.dart | 2 +- lib/pages/app.dart | 5 +++-- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 00ad44b..a8f8781 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.1-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES + 'v0.3.2-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES @pragma('vm:entry-point') void bgTaskCallback() { diff --git a/lib/pages/app.dart b/lib/pages/app.dart index d51b6d5..7cf0fc4 100644 --- a/lib/pages/app.dart +++ b/lib/pages/app.dart @@ -173,8 +173,9 @@ class _AppPageState extends State { return GeneratedFormModal( title: 'Additional Options', items: source.additionalDataFormItems, - defaultValues: - source.additionalDataDefaults); + defaultValues: app != null + ? app.app.additionalData + : source.additionalDataDefaults); }).then((values) { if (app != null && values != null) { var changedApp = app.app; diff --git a/pubspec.yaml b/pubspec.yaml index 2b7a7c5..3d1c191 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.1+17 # When changing this, update the tag in main() accordingly +version: 0.3.2+18 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.19.0-79.0.dev <3.0.0'