init settings on tabs page changed

This commit is contained in:
Kyle Spearrin 2019-05-31 14:18:32 -04:00
parent 582799464f
commit 0d5f5ec9ba
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -65,7 +65,7 @@ namespace Bit.App.Pages
}
else if(navPage.RootPage is SettingsPage settingsPage)
{
// Load something?
await settingsPage.InitAsync();
}
}
}