fix UI issues

Serhii committed Dec 14, 2023 at 14:11 UTC 31530dd566bd1f3bc329e685d93b56d7472ac714
2 files changed +3 -3
lib/src/screens/setup_2fa/setup_2fa.dart
+1 -1
@@ -71,7 +71,7 @@ class Setup2FAPage extends BasePage {
71
72 static void _launchUrl(Uri url) async {
73 try {
74 - await launchUrl(url);
74 + await launchUrl(url, mode: LaunchMode.externalApplication);
75 } catch (e) {}
76 }
77 }
lib/src/screens/setup_2fa/setup_2fa_qr_page.dart
+2 -2
@@ -53,7 +53,7 @@ class Setup2FAQRPage extends BasePage {
53 decoration: BoxDecoration(
54 border: Border.all(
55 width: 3,
56 - color: Theme.of(context).extension<DashboardPageTheme>()!.textColor,
56 + color: Theme.of(context).extension<CakeTextTheme>()!.titleColor,
57 ),
58 ),
59 child: Container(
@@ -212,7 +212,7 @@ class Setup2FAQRPage extends BasePage {
212
213 static void _launchUrl(Uri url) async {
214 try {
215 - await launchUrl(url);
215 + await launchUrl(url, mode: LaunchMode.externalApplication);
216 } catch (e) {}
217 }
218 }