UriMatchType cast from int
This commit is contained in:
parent
82a58d9487
commit
f0893ca214
|
@ -319,7 +319,7 @@ namespace Bit.Core.Services
|
|||
var others = new List<CipherView>();
|
||||
var ciphers = await ciphersTask;
|
||||
|
||||
var defaultMatch = await _storageService.GetAsync<UriMatchType?>(Constants.DefaultUriMatch);
|
||||
var defaultMatch = (UriMatchType?)(await _storageService.GetAsync<int?>(Constants.DefaultUriMatch));
|
||||
if(defaultMatch == null)
|
||||
{
|
||||
defaultMatch = UriMatchType.Domain;
|
||||
|
|
Loading…
Reference in New Issue