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(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(); await genPage.InitAsync();
} }
else if(navPage.RootPage is SettingsPage settingsPage)
{
// Load something?
}
} }
} }
} }