mirror of
https://github.com/bitwarden/mobile
synced 2024-12-28 09:42:08 +01:00
hostnameUri fix
This commit is contained in:
parent
05f4036309
commit
a197c0219e
@ -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 New Issue
Block a user