mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
icon fixes
This commit is contained in:
@@ -29,6 +29,9 @@
|
|||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<controls:FaLabel x:Name="_icon"
|
<controls:FaLabel x:Name="_icon"
|
||||||
|
Grid.Column="0"
|
||||||
|
Grid.Row="0"
|
||||||
|
Grid.RowSpan="2"
|
||||||
HorizontalOptions="Center"
|
HorizontalOptions="Center"
|
||||||
VerticalOptions="Center"
|
VerticalOptions="Center"
|
||||||
StyleClass="list-icon" />
|
StyleClass="list-icon" />
|
||||||
|
|||||||
@@ -52,13 +52,13 @@ namespace Bit.App.Controls
|
|||||||
image = loginIconImage.Item2;
|
image = loginIconImage.Item2;
|
||||||
break;
|
break;
|
||||||
case CipherType.SecureNote:
|
case CipherType.SecureNote:
|
||||||
icon = "";
|
icon = "";
|
||||||
break;
|
break;
|
||||||
case CipherType.Card:
|
case CipherType.Card:
|
||||||
icon = "";
|
icon = "";
|
||||||
break;
|
break;
|
||||||
case CipherType.Identity:
|
case CipherType.Identity:
|
||||||
icon = "";
|
icon = "";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
@@ -83,7 +83,7 @@ namespace Bit.App.Controls
|
|||||||
|
|
||||||
private Tuple<string, string> GetLoginIconImage(CipherView cipher)
|
private Tuple<string, string> GetLoginIconImage(CipherView cipher)
|
||||||
{
|
{
|
||||||
string icon = "";
|
string icon = "";
|
||||||
string image = null;
|
string image = null;
|
||||||
var imageEnabled = true;
|
var imageEnabled = true;
|
||||||
if(cipher.Login.Uri != null)
|
if(cipher.Login.Uri != null)
|
||||||
@@ -93,11 +93,11 @@ namespace Bit.App.Controls
|
|||||||
|
|
||||||
if(hostnameUri.StartsWith(Constants.AndroidAppProtocol))
|
if(hostnameUri.StartsWith(Constants.AndroidAppProtocol))
|
||||||
{
|
{
|
||||||
icon = "";
|
icon = "";
|
||||||
}
|
}
|
||||||
else if(hostnameUri.StartsWith(Constants.iOSAppProtocol))
|
else if(hostnameUri.StartsWith(Constants.iOSAppProtocol))
|
||||||
{
|
{
|
||||||
icon = "";
|
icon = "";
|
||||||
}
|
}
|
||||||
else if(imageEnabled && !hostnameUri.Contains("://") && hostnameUri.Contains("."))
|
else if(imageEnabled && !hostnameUri.Contains("://") && hostnameUri.Contains("."))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<Setter Property="Margin"
|
<Setter Property="Margin"
|
||||||
Value="3, 3, 3, 0" />
|
Value="3, 3, 3, 0" />
|
||||||
<Setter Property="FontSize"
|
<Setter Property="FontSize"
|
||||||
Value="Medium" />
|
Value="Large" />
|
||||||
<Setter Property="TextColor"
|
<Setter Property="TextColor"
|
||||||
Value="{StaticResource MutedColor}" />
|
Value="{StaticResource MutedColor}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|||||||
Reference in New Issue
Block a user