TF-1718 Handle unsubscribe mail by https links
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 7f8843fae854a2ed8ba7ea43b80de84044923d28)
This commit is contained in:
@@ -25,8 +25,8 @@ class AppUtils {
|
||||
);
|
||||
}
|
||||
|
||||
static Future<void> launchLink(String url, {bool isNewTab = true}) async {
|
||||
await launchUrl(
|
||||
static Future<bool> launchLink(String url, {bool isNewTab = true}) async {
|
||||
return await launchUrl(
|
||||
Uri.parse(url),
|
||||
webOnlyWindowName: isNewTab ? '_blank' : '_self',
|
||||
mode: LaunchMode.externalApplication
|
||||
|
||||
Reference in New Issue
Block a user