Fix launchURLInBrowser
This commit is contained in:
parent
d6b1fbec24
commit
b4ad3061e4
@ -108,10 +108,10 @@ class MobileAppIntegrationManager {
|
||||
positiveText: "Report to GitHub",
|
||||
negativeText: "Report to Discord",
|
||||
onPositive: () {
|
||||
Launcher.launchURL("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
Launcher.launchURLInBrowser("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
},
|
||||
onNegative: () {
|
||||
Launcher.launchURL("https://discord.gg/AUzEvwn");
|
||||
Launcher.launchURLInBrowser("https://discord.gg/AUzEvwn");
|
||||
},
|
||||
));
|
||||
}
|
||||
@ -128,7 +128,7 @@ class MobileAppIntegrationManager {
|
||||
positiveText: "Ok",
|
||||
negativeText: "Report an issue",
|
||||
onNegative: () {
|
||||
Launcher.launchURL("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
Launcher.launchURLInBrowser("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
},
|
||||
));
|
||||
}
|
||||
|
@ -397,7 +397,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
|
||||
title: Text("Report an issue"),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
Launcher.launchURL("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
Launcher.launchURLInBrowser("https://github.com/estevez-dev/ha_client/issues/new");
|
||||
},
|
||||
),
|
||||
Divider(),
|
||||
@ -426,7 +426,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
|
||||
title: Text("Contacts/Discussion"),
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
Launcher.launchURL("https://discord.gg/nd6FZQ");
|
||||
Launcher.launchURLInBrowser("https://discord.gg/nd6FZQ");
|
||||
},
|
||||
),
|
||||
new ListTile(
|
||||
@ -441,7 +441,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.of(context).pop();
|
||||
Launcher.launchURL("http://ha-client.app/");
|
||||
Launcher.launchURLInBrowser("http://ha-client.app/");
|
||||
},
|
||||
child: Text(
|
||||
"ha-client.app",
|
||||
|
Reference in New Issue
Block a user