Skip to content

Commit

Permalink
fix(profile): launch tel:// links on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavsb committed Oct 28, 2020
1 parent 38f9479 commit 95889c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/url_launch_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ launchSocialMediaUrl(String url) async {
}
}

//todo test on android and ios
launchTelOrMailtoUrl(String url, bool isTel) async {
if (isTel) {
url = url.replaceAll(" ", "");
url = "tel://+" + url;
} else {
//isEmail
Expand Down

0 comments on commit 95889c1

Please sign in to comment.