diff --git a/Droid/Properties/AndroidManifest.xml b/Droid/Properties/AndroidManifest.xml index 5e3919a..0fe0536 100644 --- a/Droid/Properties/AndroidManifest.xml +++ b/Droid/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/Registro/Pages/LoginPages/SchoolUrlPage.xaml.cs b/Registro/Pages/LoginPages/SchoolUrlPage.xaml.cs index debeaf7..fc1d91f 100644 --- a/Registro/Pages/LoginPages/SchoolUrlPage.xaml.cs +++ b/Registro/Pages/LoginPages/SchoolUrlPage.xaml.cs @@ -3,7 +3,6 @@ using System.Threading.Tasks; using Registro.Classes.HttpRequests; using Registro.Controls; -using Xamarin.Essentials; using Xamarin.Forms; using static Registro.Controls.AndroidThemes; using static Registro.Controls.Mails; @@ -96,7 +95,7 @@ async void AuthButtonClicked(object sender, EventArgs e) "Ok", "Istruzioni"); if (wiki) - Launcher.OpenAsync(new Uri("https://github.com/GabrielTavernini/XFRegistro/wiki/Accesso-tramite-link")); + Device.OpenUri(new Uri("https://github.com/GabrielTavernini/XFRegistro/wiki/Accesso-tramite-link")); return; } diff --git a/Registro/Pages/MarksPages/SettingsPage.xaml.cs b/Registro/Pages/MarksPages/SettingsPage.xaml.cs index 82e8265..81846f0 100644 --- a/Registro/Pages/MarksPages/SettingsPage.xaml.cs +++ b/Registro/Pages/MarksPages/SettingsPage.xaml.cs @@ -431,12 +431,12 @@ public void creditsSetup() Info.Tapped += (sender, e) => { - Launcher.OpenAsync(new Uri("https://github.com/GabrielTavernini/XFRegistro/wiki")); + Device.OpenUri(new Uri("https://github.com/GabrielTavernini/XFRegistro/wiki")); }; Me.Tapped += (sender, e) => { - Launcher.OpenAsync(new Uri("http://gabrieltavernini.github.io/")); + Device.OpenUri(new Uri("http://gabrieltavernini.github.io/")); }; } diff --git a/Registro/Pages/Menu/HomePage.xaml.cs b/Registro/Pages/Menu/HomePage.xaml.cs index 1265557..c82850b 100644 --- a/Registro/Pages/Menu/HomePage.xaml.cs +++ b/Registro/Pages/Menu/HomePage.xaml.cs @@ -148,7 +148,7 @@ protected async override void OnAppearing() if (result) { - Launcher.OpenAsync(new Uri("https://play.app.goo.gl/?link=https://play.google.com/store/apps/details?id=com.gabriel.Registro")); + Device.OpenUri(new Uri("https://play.app.goo.gl/?link=https://play.google.com/store/apps/details?id=com.gabriel.Registro")); } } } else