mirror of
https://github.com/tommyxchow/frosty.git
synced 2025-08-06 17:48:14 +08:00
Switch to LaunchMode.inAppBrowserView
Uses Chrome Custom Tabs which has a better navigation menu.
This commit is contained in:
@ -643,7 +643,7 @@ class IRCMessage {
|
||||
Uri.parse(text),
|
||||
mode: launchExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
);
|
||||
} else {
|
||||
@ -738,7 +738,7 @@ class IRCMessage {
|
||||
Uri.parse(url),
|
||||
mode: launchExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
);
|
||||
|
||||
Navigator.pop(context);
|
||||
|
@ -55,7 +55,7 @@ class OnboardingSetup extends StatelessWidget {
|
||||
),
|
||||
mode: settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
@ -348,7 +348,7 @@ class _ChatSettingsState extends State<ChatSettings> {
|
||||
),
|
||||
mode: settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
@ -92,7 +92,7 @@ class _OtherSettingsState extends State<OtherSettings> {
|
||||
Uri.parse('https://github.com/tommyxchow/frosty/releases'),
|
||||
mode: widget.settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
@ -102,7 +102,7 @@ class _OtherSettingsState extends State<OtherSettings> {
|
||||
Uri.parse('https://www.frostyapp.io/#faq'),
|
||||
mode: widget.settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
|
@ -33,7 +33,7 @@ class Settings extends StatelessWidget {
|
||||
Uri.parse('https://www.buymeacoffee.com/tommychow'),
|
||||
mode: settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
icon: const Icon(SimpleIcons.buymeacoffee),
|
||||
),
|
||||
@ -43,7 +43,7 @@ class Settings extends StatelessWidget {
|
||||
Uri.parse('https://github.com/tommyxchow/frosty'),
|
||||
mode: settingsStore.launchUrlExternal
|
||||
? LaunchMode.externalApplication
|
||||
: LaunchMode.inAppWebView,
|
||||
: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
icon: const Icon(SimpleIcons.github),
|
||||
),
|
||||
|
Reference in New Issue
Block a user