diff --git a/android/app/build.gradle b/android/app/build.gradle index f2280c9..f4bf8ea 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -51,11 +51,17 @@ android { versionName flutterVersionName } + signingConfigs { + release { + storeFile file("release-key.jks") + storePassword "iu2t7LwN" + keyAlias "my-key" + keyPassword "iu2t7LwN" + } + } buildTypes { release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug + signingConfig signingConfigs.release } } } diff --git a/lib/widgets/recipe_editor_page.dart b/lib/widgets/recipe_editor_page.dart index 114c55b..1a03662 100644 --- a/lib/widgets/recipe_editor_page.dart +++ b/lib/widgets/recipe_editor_page.dart @@ -132,6 +132,7 @@ class _RecipeEditorPageState extends State { Uri.tryParse(value ?? "") == null) { return "Please enter a valid URL"; } + return null; }, initialValue: widget.initialRecipe?.source, onSaved: (value) { diff --git a/pubspec.lock b/pubspec.lock index f52bd5f..828174f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -393,7 +393,7 @@ packages: source: hosted version: "2.1.0" path: - dependency: transitive + dependency: "direct main" description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" diff --git a/pubspec.yaml b/pubspec.yaml index 5dd6959..49921d8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,6 +32,7 @@ dependencies: file_selector: ^1.0.3 flutter: sdk: flutter + path: ^1.9.0 path_provider: ^2.1.2 recipe_extractor: ^2.3.2 share_plus: ^8.0.3