Merge pull request from cypherstack/email

Fix RFC6068 mailto link for support on desktop platform.
This commit is contained in:
julian-CStack 2022-11-15 11:12:53 -06:00 committed by GitHub
commit 0e65bb3863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -330,7 +330,7 @@ class SupportView extends StatelessWidget {
onPressed: () {
if (!isDesktop) {
launchUrl(
Uri.parse("mailto://support@stackwallet.com"),
Uri.parse("mailto:support@stackwallet.com"),
mode: LaunchMode.externalApplication,
);
}
@ -367,7 +367,7 @@ class SupportView extends StatelessWidget {
text: isDesktop ? "support@stackwallet.com" : "",
onTap: () {
launchUrl(
Uri.parse("mailto://support@stackwallet.com"),
Uri.parse("mailto:support@stackwallet.com"),
mode: LaunchMode.externalApplication,
);
},