diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index de8afed..58e78e0 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,5 @@ + +S \ No newline at end of file diff --git a/lib/ui/views/new_dish/new_dish_viewmodel.dart b/lib/ui/views/new_dish/new_dish_viewmodel.dart index 7ee40df..6705280 100644 --- a/lib/ui/views/new_dish/new_dish_viewmodel.dart +++ b/lib/ui/views/new_dish/new_dish_viewmodel.dart @@ -27,7 +27,6 @@ class NewDishViewModel extends FormViewModel { ); final response = await _dishService.createDish(info); - if (response != null) { DialogResponse? dialogResponse = await _dialogService.showDialog( diff --git a/lib/ui/views/signup/signup_viewmodel.dart b/lib/ui/views/signup/signup_viewmodel.dart index 5877392..76be8ac 100644 --- a/lib/ui/views/signup/signup_viewmodel.dart +++ b/lib/ui/views/signup/signup_viewmodel.dart @@ -41,6 +41,7 @@ class SignupViewModel extends FormViewModel { await _dialogService.showDialog( description: "Account created successfully.", ); + } } on RecipeException catch (e) { _dialogService.showDialog(