Fix launchURLInBrowser

This commit is contained in:
Yegor Vialov
2020-05-01 15:49:50 +00:00
parent d6b1fbec24
commit b4ad3061e4
2 changed files with 6 additions and 6 deletions

View File

@ -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");
},
));
}