1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-29 04:07:37 +02:00

App: Controls: Improve the vault view images (#240)

* App: Controls: Improve the vault view images

Make the buttons smaller and ensure the background is transparent.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

* UWP.Images: Use smaller size images

Signed-off-by: Alistair Francis <alistair@alistair23.me>

* UWP.Images: Remove unused image

Signed-off-by: Alistair Francis <alistair@alistair23.me>
This commit is contained in:
Alistair Francis 2018-01-04 20:32:50 -08:00 committed by Kyle Spearrin
parent 694efb9508
commit ca03a5ecf4
6 changed files with 13 additions and 1 deletions

View File

@ -114,6 +114,19 @@ namespace Bit.App.Controls
containerStackLayout.AdjustPaddingForDevice();
}
else if(Device.RuntimePlatform == Device.UWP)
{
buttonStackLayout.Spacing = 0;
if(Button1 != null)
{
Button1.BackgroundColor = Color.Transparent;
}
if(Button2 != null)
{
Button2.BackgroundColor = Color.Transparent;
}
}
if(Sub != null && Button1 != null)
{

View File

@ -24,7 +24,6 @@
<Content Include="$(MSBuildThisFileDirectory)eye_slash.png" />
<Content Include="$(MSBuildThisFileDirectory)fa_lock.png" />
<Content Include="$(MSBuildThisFileDirectory)fa_lock_selected.png" />
<Content Include="$(MSBuildThisFileDirectory)fingerprint.png" />
<Content Include="$(MSBuildThisFileDirectory)folder.png" />
<Content Include="$(MSBuildThisFileDirectory)globe.png" />
<Content Include="$(MSBuildThisFileDirectory)icon.png" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 737 B

After

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB