diff --git a/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs b/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs index 27e40cb6d..3295ed59d 100644 --- a/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs +++ b/src/App/Pages/Settings/SettingsPage/SettingsPage.xaml.cs @@ -1,6 +1,7 @@ using Bit.App.Abstractions; using Bit.App.Resources; using Bit.Core.Utilities; +using System.Threading.Tasks; using Xamarin.Forms; namespace Bit.App.Pages @@ -20,9 +21,8 @@ namespace Bit.App.Pages _vm.Page = this; } - protected async override void OnAppearing() + public async Task InitAsync() { - base.OnAppearing(); await _vm.InitAsync(); } diff --git a/src/App/Pages/TabsPage.cs b/src/App/Pages/TabsPage.cs index 8bff95449..67fbb38c2 100644 --- a/src/App/Pages/TabsPage.cs +++ b/src/App/Pages/TabsPage.cs @@ -65,7 +65,7 @@ namespace Bit.App.Pages } else if(navPage.RootPage is SettingsPage settingsPage) { - // Load something? + await settingsPage.InitAsync(); } } }