1
0
mirror of https://github.com/bitwarden/mobile synced 2024-12-28 09:42:08 +01:00

hostnameUri fix

This commit is contained in:
Kyle Spearrin 2017-10-20 16:18:30 -04:00
parent 05f4036309
commit a197c0219e

View File

@ -48,7 +48,7 @@ namespace Bit.App.Models.Page
isWebsite = hostnameUri.StartsWith("http") && hostnameUri.Contains(".");
}
if(imageEnabled && isWebsite && Uri.TryCreate(LoginUri, UriKind.Absolute, out Uri u))
if(imageEnabled && isWebsite && Uri.TryCreate(hostnameUri, UriKind.Absolute, out Uri u))
{
Icon = "https://icons.bitwarden.com/" + u.Host + "/icon.png";
}