ShowStatusBar set on init of main page

This commit is contained in:
Kyle Spearrin 2016-08-05 00:19:10 -04:00
parent 7eb78ee50f
commit fb925b8fc2

View file

@ -9,6 +9,7 @@ namespace Bit.App.Pages
{ {
public MainPage() public MainPage()
{ {
MessagingCenter.Send(Application.Current, "ShowStatusBar", false);
TintColor = Color.FromHex("3c8dbc"); TintColor = Color.FromHex("3c8dbc");
var settingsNavigation = new ExtendedNavigationPage(new SettingsPage()); var settingsNavigation = new ExtendedNavigationPage(new SettingsPage());
@ -33,11 +34,5 @@ namespace Bit.App.Pages
Children.Add(toolsNavigation); Children.Add(toolsNavigation);
Children.Add(settingsNavigation); Children.Add(settingsNavigation);
} }
protected override void OnAppearing()
{
base.OnAppearing();
MessagingCenter.Send(Application.Current, "ShowStatusBar", false);
}
} }
} }