1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-04 17:43:17 +00:00

Change context options to action sheet w/ button

This commit is contained in:
Kyle Spearrin
2018-03-13 17:33:45 -04:00
parent 1031ddcd83
commit 262c19b194
5 changed files with 92 additions and 91 deletions

View File

@@ -436,7 +436,7 @@ namespace Bit.App.Pages
UrisSection = new TableSection(Helpers.GetEmptyTableSectionTitle());
AddUriCell = new ExtendedTextCell
{
Text = AppResources.NewUri,
Text = $"+ {AppResources.NewUri}",
TextColor = Colors.Primary
};
UrisSection.Add(AddUriCell);
@@ -558,7 +558,7 @@ namespace Bit.App.Pages
FieldsSection = new TableSection(AppResources.CustomFields);
AddFieldCell = new ExtendedTextCell
{
Text = AppResources.NewCustomField,
Text = $"+ {AppResources.NewCustomField}",
TextColor = Colors.Primary
};
FieldsSection.Add(AddFieldCell);

View File

@@ -202,7 +202,7 @@ namespace Bit.App.Pages
UrisSection = new TableSection(Helpers.GetEmptyTableSectionTitle());
AddUriCell = new ExtendedTextCell
{
Text = AppResources.NewUri,
Text = $"+ {AppResources.NewUri}",
TextColor = Colors.Primary
};
UrisSection.Add(AddUriCell);
@@ -408,7 +408,7 @@ namespace Bit.App.Pages
{
var label = field.Name?.Decrypt(Cipher.OrganizationId) ?? string.Empty;
var value = field.Value?.Decrypt(Cipher.OrganizationId);
var cell = Helpers.MakeFieldCell(field.Type, label, value, FieldsSection);
var cell = Helpers.MakeFieldCell(field.Type, label, value, FieldsSection, this);
if(cell != null)
{
FieldsSection.Add(cell);
@@ -417,7 +417,7 @@ namespace Bit.App.Pages
}
AddFieldCell = new ExtendedTextCell
{
Text = AppResources.NewCustomField,
Text = $"+ {AppResources.NewCustomField}",
TextColor = Colors.Primary
};
FieldsSection.Add(AddFieldCell);