1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 05:13:31 +00:00

icon fixes

This commit is contained in:
Kyle Spearrin
2019-04-24 23:53:36 -04:00
parent 18ff6c7976
commit b644ed5a25
3 changed files with 10 additions and 7 deletions

View File

@@ -52,13 +52,13 @@ namespace Bit.App.Controls
image = loginIconImage.Item2;
break;
case CipherType.SecureNote:
icon = "";
icon = "";
break;
case CipherType.Card:
icon = "";
icon = "";
break;
case CipherType.Identity:
icon = "";
icon = "";
break;
default:
break;
@@ -83,7 +83,7 @@ namespace Bit.App.Controls
private Tuple<string, string> GetLoginIconImage(CipherView cipher)
{
string icon = "&#xf0ac;";
string icon = "";
string image = null;
var imageEnabled = true;
if(cipher.Login.Uri != null)
@@ -93,11 +93,11 @@ namespace Bit.App.Controls
if(hostnameUri.StartsWith(Constants.AndroidAppProtocol))
{
icon = "&#xf17b;";
icon = "";
}
else if(hostnameUri.StartsWith(Constants.iOSAppProtocol))
{
icon = "&#xf179;";
icon = "";
}
else if(imageEnabled && !hostnameUri.Contains("://") && hostnameUri.Contains("."))
{