bitwarden-android/src/App/Pages/MainPage.cs

27 lines
866 B
C#
Raw Normal View History

2016-05-03 00:50:16 +03:00
using System;
using Bit.App.Abstractions;
using Xamarin.Forms;
namespace Bit.App.Pages
{
public class MainPage : TabbedPage
{
public MainPage()
{
var vaultNavigation = new NavigationPage(new VaultListPage());
vaultNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
vaultNavigation.BarTextColor = Color.FromHex("ffffff");
vaultNavigation.Title = "My Vault";
var settingsNavigation = new NavigationPage(new SettingsPage());
settingsNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
settingsNavigation.BarTextColor = Color.FromHex("ffffff");
settingsNavigation.Title = "Settings";
Children.Add(vaultNavigation);
Children.Add(new SyncPage());
Children.Add(settingsNavigation);
}
}
}