mirror of
https://github.com/bitwarden/mobile
synced 2026-02-26 01:13:28 +00:00
32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
using System;
|
|
using Bit.App.Controls;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Pages
|
|
{
|
|
public class MainPage : ExtendedTabbedPage
|
|
{
|
|
public MainPage()
|
|
{
|
|
TintColor = Color.FromHex("3c8dbc");
|
|
|
|
var vaultNavigation = new ExtendedNavigationPage(new VaultListGroupingsPage());
|
|
var passwordGeneratorNavigation = new ExtendedNavigationPage(new ToolsPasswordGeneratorPage());
|
|
var toolsNavigation = new ExtendedNavigationPage(new ToolsPage());
|
|
var settingsNavigation = new ExtendedNavigationPage(new SettingsPage());
|
|
|
|
vaultNavigation.Icon = "fa_lock.png";
|
|
passwordGeneratorNavigation.Icon = "refresh.png";
|
|
toolsNavigation.Icon = "tools.png";
|
|
settingsNavigation.Icon = "cogs.png";
|
|
|
|
Children.Add(vaultNavigation);
|
|
Children.Add(passwordGeneratorNavigation);
|
|
Children.Add(toolsNavigation);
|
|
Children.Add(settingsNavigation);
|
|
|
|
SelectedItem = vaultNavigation;
|
|
}
|
|
}
|
|
}
|