From 3229835f5017473f27f01616064a61a33254b710 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 14 May 2019 09:51:13 -0400 Subject: [PATCH] load something for other tab pages --- src/App/Pages/TabsPage.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/App/Pages/TabsPage.cs b/src/App/Pages/TabsPage.cs index d85ff60a9..781fea707 100644 --- a/src/App/Pages/TabsPage.cs +++ b/src/App/Pages/TabsPage.cs @@ -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? + } } } }