diff --git a/lib/main.dart b/lib/main.dart index c385c28..3a5075e 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -16,7 +16,7 @@ import 'package:dynamic_color/dynamic_color.dart'; import 'package:device_info_plus/device_info_plus.dart'; import 'package:android_alarm_manager_plus/android_alarm_manager_plus.dart'; -const String currentVersion = '0.7.5'; +const String currentVersion = '0.7.6'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index de02962..6a029e8 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -388,6 +388,9 @@ class AppsPageState extends State { ); }).then((values) { if (values != null) { + if (values.isEmpty) { + values = ['true', 'true']; + } bool shouldInstallUpdates = values[0] == 'true'; bool shouldInstallNew = values[1] == 'true'; settingsProvider diff --git a/pubspec.yaml b/pubspec.yaml index 5fd67d7..fa39043 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.7.5+61 # When changing this, update the tag in main() accordingly +version: 0.7.6+62 # When changing this, update the tag in main() accordingly environment: sdk: '>=2.18.2 <3.0.0'