1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

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;