diff --git a/sample/Sample/App.xaml.cs b/sample/Sample/App.xaml.cs index f592646b..651dbad9 100644 --- a/sample/Sample/App.xaml.cs +++ b/sample/Sample/App.xaml.cs @@ -8,7 +8,7 @@ public App() { InitializeComponent(); - this.MainPage = new MainPage(); + this.MainPage = new StandardPage(); } } } diff --git a/sample/Sample/Pages/MainPage.xaml b/sample/Sample/Pages/MainPage.xaml index 94bdd929..5fa80403 100644 --- a/sample/Sample/Pages/MainPage.xaml +++ b/sample/Sample/Pages/MainPage.xaml @@ -1,7 +1,7 @@  diff --git a/sample/Sample/Platforms/Android/MainApplication.cs b/sample/Sample/Platforms/Android/MainApplication.cs index ea556747..609db58a 100644 --- a/sample/Sample/Platforms/Android/MainApplication.cs +++ b/sample/Sample/Platforms/Android/MainApplication.cs @@ -9,8 +9,9 @@ public class MainApplication : MauiApplication public MainApplication(IntPtr handle, JniHandleOwnership ownership) : base(handle, ownership) { + Acr.UserDialogs.UserDialogs.Init(this); } protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); } -} \ No newline at end of file +}