mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-10 01:08:23 +02: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(".");
|
||||
}
|
||||
|
||||
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user