mirror of
https://github.com/bitwarden/android.git
synced 2024-12-18 23:31:52 +03:00
make sync a navigation page
This commit is contained in:
parent
aeb04d0178
commit
a6cdce6bb4
1 changed files with 7 additions and 4 deletions
|
@ -10,19 +10,22 @@ namespace Bit.App.Pages
|
|||
{
|
||||
var settingsNavigation = new NavigationPage(new SettingsPage());
|
||||
var vaultNavigation = new NavigationPage(new VaultListPage());
|
||||
var syncPage = new SyncPage();
|
||||
var syncNavigation = new NavigationPage(new SyncPage());
|
||||
|
||||
vaultNavigation.BarBackgroundColor = settingsNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
|
||||
vaultNavigation.BarTextColor = settingsNavigation.BarTextColor = Color.FromHex("ffffff");
|
||||
vaultNavigation.BarBackgroundColor = settingsNavigation.BarBackgroundColor = syncNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
|
||||
vaultNavigation.BarTextColor = settingsNavigation.BarTextColor = syncNavigation.BarTextColor = Color.FromHex("ffffff");
|
||||
|
||||
vaultNavigation.Title = AppResources.MyVault;
|
||||
vaultNavigation.Icon = "fa-lock";
|
||||
|
||||
syncNavigation.Title = AppResources.Sync;
|
||||
syncNavigation.Icon = "fa-refresh";
|
||||
|
||||
settingsNavigation.Title = AppResources.Settings;
|
||||
settingsNavigation.Icon = "fa-cogs";
|
||||
|
||||
Children.Add(vaultNavigation);
|
||||
Children.Add(syncPage);
|
||||
Children.Add(syncNavigation);
|
||||
Children.Add(settingsNavigation);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue