1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-18 15:37:42 +01:00

load something for other tab pages

This commit is contained in:
Kyle Spearrin 2019-05-14 09:51:13 -04:00
parent f0a96759a4
commit 3229835f50

View File

@ -38,10 +38,18 @@ namespace Bit.App.Pages
{
if(CurrentPage is NavigationPage navPage)
{
if(navPage.RootPage is GeneratorPage genPage)
if(navPage.RootPage is GroupingsPage groupingsPage)
{
// Load something?
}
else if(navPage.RootPage is GeneratorPage genPage)
{
await genPage.InitAsync();
}
else if(navPage.RootPage is SettingsPage settingsPage)
{
// Load something?
}
}
}
}