mirror of
https://github.com/bitwarden/mobile
synced 2026-01-09 20:13:18 +00:00
Moved add/edit pages to use custom form cells. Moved navigation of vault to modals. Created custom renderer for left modal dismiss button on navigation pages. refresh for edit site UI.
This commit is contained in:
27
src/App/Controls/ExtendedNavigationPage.cs
Normal file
27
src/App/Controls/ExtendedNavigationPage.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Controls
|
||||
{
|
||||
public class ExtendedNavigationPage : NavigationPage
|
||||
{
|
||||
public ExtendedNavigationPage()
|
||||
: base()
|
||||
{
|
||||
SetDefaults();
|
||||
}
|
||||
|
||||
public ExtendedNavigationPage(Page root)
|
||||
: base(root)
|
||||
{
|
||||
SetDefaults();
|
||||
}
|
||||
|
||||
private void SetDefaults()
|
||||
{
|
||||
// default colors for our app
|
||||
BarBackgroundColor = Color.FromHex("3c8dbc");
|
||||
BarTextColor = Color.FromHex("ffffff");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user