mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
fixes for match detection selection
This commit is contained in:
parent
e7ab6da068
commit
215ded8a77
1 changed files with 2 additions and 2 deletions
|
@ -401,11 +401,11 @@ namespace Bit.App.Utilities
|
|||
null, options.ToArray());
|
||||
|
||||
UriMatchType? selectedVal = null;
|
||||
if(val == AppResources.Cancel)
|
||||
if(val == null || val == AppResources.Cancel)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue