-
Notifications
You must be signed in to change notification settings - Fork 8
feat/ added internet permission #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat/ added internet permission #52
Conversation
moak13
left a comment
There was a problem hiding this 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(); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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, | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
Added Internet permission for release mode
Handled plausible Null Errors in newDish VM and signup VM