mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 10:34:07 +00:00
select URI match option from action sheet
This commit is contained in:
@@ -452,7 +452,7 @@ namespace Bit.App.Pages
|
||||
TextColor = Colors.Primary
|
||||
};
|
||||
UrisSection.Add(AddUriCell);
|
||||
UrisSection.Insert(0, Helpers.MakeUriCell(string.Empty, UrisSection));
|
||||
UrisSection.Insert(0, Helpers.MakeUriCell(string.Empty, null, UrisSection, this));
|
||||
}
|
||||
else if(_type == CipherType.Card)
|
||||
{
|
||||
@@ -833,7 +833,7 @@ namespace Bit.App.Pages
|
||||
|
||||
private void AddUriCell_Tapped(object sender, EventArgs e)
|
||||
{
|
||||
var cell = Helpers.MakeUriCell(string.Empty, UrisSection);
|
||||
var cell = Helpers.MakeUriCell(string.Empty, null, UrisSection, this);
|
||||
if(cell != null)
|
||||
{
|
||||
UrisSection.Insert(UrisSection.Count - 1, cell);
|
||||
|
||||
@@ -223,7 +223,8 @@ namespace Bit.App.Pages
|
||||
foreach(var uri in Cipher.Login.Uris)
|
||||
{
|
||||
var value = uri.Uri?.Decrypt(Cipher.OrganizationId);
|
||||
UrisSection.Insert(UrisSection.Count - 1, Helpers.MakeUriCell(value, UrisSection));
|
||||
UrisSection.Insert(UrisSection.Count - 1,
|
||||
Helpers.MakeUriCell(value, uri.Match, UrisSection, this));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -930,7 +931,7 @@ namespace Bit.App.Pages
|
||||
|
||||
private void AddUriCell_Tapped(object sender, EventArgs e)
|
||||
{
|
||||
var cell = Helpers.MakeUriCell(string.Empty, UrisSection);
|
||||
var cell = Helpers.MakeUriCell(string.Empty, null, UrisSection, this);
|
||||
if(cell != null)
|
||||
{
|
||||
UrisSection.Insert(UrisSection.Count - 1, cell);
|
||||
|
||||
Reference in New Issue
Block a user