-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(button-feedback): configuration android manifest (#1086)
* fix(button-feedback): configuration android manifest * fix(button-feedback): configuration android manifest
- Loading branch information
1 parent
9b27b2f
commit 9b47c26
Showing
4 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,26 +12,21 @@ class FeedbackUser extends StatelessWidget { | |
crossAxisAlignment: CrossAxisAlignment.center, | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
children: [ | ||
GestureDetector( | ||
InkWell( | ||
onTap: () async { | ||
const String url = 'mailto:[email protected]'; | ||
final Uri uri = Uri.parse(url); | ||
final Uri uri = Uri.parse('mailto:[email protected]'); | ||
if (await canLaunchUrl(uri)) { | ||
if (!await launchUrl( | ||
uri, | ||
mode: LaunchMode.externalApplication, | ||
)) { | ||
throw Exception('Could not launch $url'); | ||
throw Exception('Could not launch $uri'); | ||
} | ||
} | ||
}, | ||
child: Row( | ||
children: [ | ||
Text( | ||
tr('feedback'), | ||
style: textFeedback(), | ||
), | ||
], | ||
child: Text( | ||
tr('feedback'), | ||
style: textFeedback(), | ||
), | ||
), | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters