mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
init settings on tabs page changed
This commit is contained in:
parent
582799464f
commit
0d5f5ec9ba
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue