mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
fixes for match detection selection
This commit is contained in:
@@ -401,11 +401,11 @@ namespace Bit.App.Utilities
|
|||||||
null, options.ToArray());
|
null, options.ToArray());
|
||||||
|
|
||||||
UriMatchType? selectedVal = null;
|
UriMatchType? selectedVal = null;
|
||||||
if(val == AppResources.Cancel)
|
if(val == null || val == AppResources.Cancel)
|
||||||
{
|
{
|
||||||
selectedVal = exactingMatchVal;
|
selectedVal = exactingMatchVal;
|
||||||
}
|
}
|
||||||
else if(val != null && val != AppResources.Default)
|
else if(val.Replace("✓ ", string.Empty) != AppResources.Default)
|
||||||
{
|
{
|
||||||
selectedVal = UriMatchOptionsMap.ElementAt(Array.IndexOf(optionsArr, val) - 1).Key;
|
selectedVal = UriMatchOptionsMap.ElementAt(Array.IndexOf(optionsArr, val) - 1).Key;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user