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