UriMatchType cast from int

This commit is contained in:
Kyle Spearrin 2019-06-04 12:34:29 -04:00
parent 82a58d9487
commit f0893ca214

View file

@ -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;