mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
Icon Updates (#1541)
This commit is contained in:
21
src/App/Controls/IconButton.cs
Normal file
21
src/App/Controls/IconButton.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user