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:
dab246
2023-11-16 00:29:24 +07:00
committed by Dat Vu
parent 0b49cf36ee
commit 67f0b702ab
4 changed files with 31 additions and 4 deletions
+2 -2
View File
@@ -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