diff --git a/lib/main.dart b/lib/main.dart index 38c7166..546d7e6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -31,8 +31,9 @@ Future initPath() async { } else { appDocDir = await getApplicationDocumentsDirectory(); } + } else { + appDocDir = await getApplicationDocumentsDirectory(); } - appDocDir = await getApplicationDocumentsDirectory(); } db = await initDb(); await Future.wait([ diff --git a/pubspec.yaml b/pubspec.yaml index e1a8f33..4d2e895 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,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.2.0+1 +version: 0.2.1+1 environment: sdk: ^3.5.0