mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
29 lines
944 B
C#
29 lines
944 B
C#
using System;
|
|
using Bit.App.Resources;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Pages
|
|
{
|
|
public class MainPage : TabbedPage
|
|
{
|
|
public MainPage()
|
|
{
|
|
var settingsNavigation = new NavigationPage(new SettingsPage());
|
|
var vaultNavigation = new NavigationPage(new VaultListPage());
|
|
var syncPage = new SyncPage();
|
|
|
|
vaultNavigation.BarBackgroundColor = settingsNavigation.BarBackgroundColor = Color.FromHex("3c8dbc");
|
|
vaultNavigation.BarTextColor = settingsNavigation.BarTextColor = Color.FromHex("ffffff");
|
|
|
|
vaultNavigation.Title = AppResources.MyVault;
|
|
vaultNavigation.Icon = "fa-lock";
|
|
|
|
settingsNavigation.Title = AppResources.Settings;
|
|
settingsNavigation.Icon = "fa-cogs";
|
|
|
|
Children.Add(vaultNavigation);
|
|
Children.Add(syncPage);
|
|
Children.Add(settingsNavigation);
|
|
}
|
|
}
|
|
}
|