Fix RFC6068 mailto link for support on desktop plaftorm.

This commit is contained in:
Dan Miller 2022-11-14 20:40:44 -08:00
parent a5af60535e
commit 591edeca63
No known key found for this signature in database
GPG key ID: 3E62752FA78A3D06

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,
);
},