From 31530dd566bd1f3bc329e685d93b56d7472ac714 Mon Sep 17 00:00:00 2001 From: Serhii Date: Thu, 14 Dec 2023 14:11:07 +0200 Subject: [PATCH] fix UI issues --- lib/src/screens/setup_2fa/setup_2fa.dart | 2 +- lib/src/screens/setup_2fa/setup_2fa_qr_page.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/screens/setup_2fa/setup_2fa.dart b/lib/src/screens/setup_2fa/setup_2fa.dart index d38de1f8c..3e175fe67 100644 --- a/lib/src/screens/setup_2fa/setup_2fa.dart +++ b/lib/src/screens/setup_2fa/setup_2fa.dart @@ -71,7 +71,7 @@ class Setup2FAPage extends BasePage { static void _launchUrl(Uri url) async { try { - await launchUrl(url); + await launchUrl(url, mode: LaunchMode.externalApplication); } catch (e) {} } } diff --git a/lib/src/screens/setup_2fa/setup_2fa_qr_page.dart b/lib/src/screens/setup_2fa/setup_2fa_qr_page.dart index 408e9e14d..86fabae13 100644 --- a/lib/src/screens/setup_2fa/setup_2fa_qr_page.dart +++ b/lib/src/screens/setup_2fa/setup_2fa_qr_page.dart @@ -53,7 +53,7 @@ class Setup2FAQRPage extends BasePage { decoration: BoxDecoration( border: Border.all( width: 3, - color: Theme.of(context).extension()!.textColor, + color: Theme.of(context).extension()!.titleColor, ), ), child: Container( @@ -212,7 +212,7 @@ class Setup2FAQRPage extends BasePage { static void _launchUrl(Uri url) async { try { - await launchUrl(url); + await launchUrl(url, mode: LaunchMode.externalApplication); } catch (e) {} } }