-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: add report button functionality - open email app #484
Conversation
Imo toast should be shown at the bottom of the screen with transparent or white background. You can consider snackbar as well :) Ps i like way the pr has been described:) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
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.
Please see the comments
...res/digital_guide_view/general_info/presentation/widgets/digital_guide_data_source_link.dart
Outdated
Show resolved
Hide resolved
lib/features/digital_guide_view/general_info/presentation/widgets/report_change_button.dart
Outdated
Show resolved
Hide resolved
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.
final touches
lib/features/digital_guide_view/general_info/presentation/widgets/report_change_button.dart
Outdated
Show resolved
Hide resolved
...res/digital_guide_view/general_info/presentation/widgets/digital_guide_data_source_link.dart
Outdated
Show resolved
Hide resolved
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.
lgtm, good work. Tbh simillar mechanism could be implemented everywhere else in the app when email is requested. Fell free to embrace it if u have enough time
if (!await ref.launch( | ||
"mailto:${context.localize.report_change_email}?subject=${Uri.encodeComponent(context.localize.report_change_subject)}", | ||
)) { |
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.
this could be stored inside variable but i leave it up to you if u want to change it.
What has been done