Skip to content

Conversation

@ClementPeter
Copy link
Contributor

  • Added Internet permission for release mode

  • Handled plausible Null Errors in newDish VM and signup VM

Copy link
Owner

@moak13 moak13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly take a look

title: S.current.unknown_error,
);
if (dialogResponse?.confirmed == true) {
_navigationService.back();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An error occurred when creating a new dish, so we are still meant to be on the creat dish page when we pop the dialog. No need routing to anywhere, the users will do that on their own if they feel like it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have resolved the fix by removing the navigator and if-else

if (dialogResponse?.confirmed == true) {
_navigationService.back();
}
} else {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for an else, if the if condition is not met, the code will continue the flow

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have resolved this as well

} else {
await _dialogService.showDialog(
description: S.current.account_created_successfully,
);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants