make sync a navigation page

This commit is contained in:
Kyle Spearrin 2016-05-07 16:32:29 -04:00
parent aeb04d0178
commit a6cdce6bb4

View file

@ -10,19 +10,22 @@ namespace Bit.App.Pages
{ {
var settingsNavigation = new NavigationPage(new SettingsPage()); var settingsNavigation = new NavigationPage(new SettingsPage());
var vaultNavigation = new NavigationPage(new VaultListPage()); var vaultNavigation = new NavigationPage(new VaultListPage());
var syncPage = new SyncPage(); var syncNavigation = new NavigationPage(new SyncPage());
vaultNavigation.BarBackgroundColor = settingsNavigation.BarBackgroundColor = Color.FromHex("3c8dbc"); vaultNavigation.BarBackgroundColor = settingsNavigation.BarBackgroundColor = syncNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
vaultNavigation.BarTextColor = settingsNavigation.BarTextColor = Color.FromHex("ffffff"); vaultNavigation.BarTextColor = settingsNavigation.BarTextColor = syncNavigation.BarTextColor = Color.FromHex("ffffff");
vaultNavigation.Title = AppResources.MyVault; vaultNavigation.Title = AppResources.MyVault;
vaultNavigation.Icon = "fa-lock"; vaultNavigation.Icon = "fa-lock";
syncNavigation.Title = AppResources.Sync;
syncNavigation.Icon = "fa-refresh";
settingsNavigation.Title = AppResources.Settings; settingsNavigation.Title = AppResources.Settings;
settingsNavigation.Icon = "fa-cogs"; settingsNavigation.Icon = "fa-cogs";
Children.Add(vaultNavigation); Children.Add(vaultNavigation);
Children.Add(syncPage); Children.Add(syncNavigation);
Children.Add(settingsNavigation); Children.Add(settingsNavigation);
} }
} }