mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
icon fixes
This commit is contained in:
parent
18ff6c7976
commit
b644ed5a25
3 changed files with 10 additions and 7 deletions
|
@ -29,6 +29,9 @@
|
|||
</Grid.ColumnDefinitions>
|
||||
|
||||
<controls:FaLabel x:Name="_icon"
|
||||
Grid.Column="0"
|
||||
Grid.Row="0"
|
||||
Grid.RowSpan="2"
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
StyleClass="list-icon" />
|
||||
|
|
|
@ -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 = "";
|
||||
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 = "";
|
||||
icon = "";
|
||||
}
|
||||
else if(hostnameUri.StartsWith(Constants.iOSAppProtocol))
|
||||
{
|
||||
icon = "";
|
||||
icon = "";
|
||||
}
|
||||
else if(imageEnabled && !hostnameUri.Contains("://") && hostnameUri.Contains("."))
|
||||
{
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<Setter Property="Margin"
|
||||
Value="3, 3, 3, 0" />
|
||||
<Setter Property="FontSize"
|
||||
Value="Medium" />
|
||||
Value="Large" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{StaticResource MutedColor}" />
|
||||
</Style>
|
||||
|
|
Loading…
Reference in a new issue