mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-16 20:11:26 +01:00
init settings on tabs page changed
This commit is contained in:
parent
582799464f
commit
0d5f5ec9ba
@ -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();
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ namespace Bit.App.Pages
|
||||
}
|
||||
else if(navPage.RootPage is SettingsPage settingsPage)
|
||||
{
|
||||
// Load something?
|
||||
await settingsPage.InitAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user