1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

Icon Updates (#1541)

This commit is contained in:
Oscar Hinton
2022-01-21 10:31:03 +01:00
committed by GitHub
parent 52024109f7
commit 3f1674c1f1
96 changed files with 373 additions and 258 deletions

View File

@@ -0,0 +1,21 @@
using Xamarin.Forms;
namespace Bit.App.Controls
{
public class IconButton : Button
{
public IconButton()
{
Padding = 0;
switch (Device.RuntimePlatform)
{
case Device.iOS:
FontFamily = "bwi-font";
break;
case Device.Android:
FontFamily = "bwi-font.ttf#bwi-font";
break;
}
}
}
}