mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
hostnameUri fix
This commit is contained in:
parent
05f4036309
commit
a197c0219e
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ namespace Bit.App.Models.Page
|
||||||
isWebsite = hostnameUri.StartsWith("http") && hostnameUri.Contains(".");
|
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";
|
Icon = "https://icons.bitwarden.com/" + u.Host + "/icon.png";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue