mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
27 lines
866 B
C#
27 lines
866 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|