mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
init settings on tabs page changed
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user