bitwarden-android/src/App/Controls/AddCipherToolBarItem.cs

17 lines
390 B
C#
Raw Normal View History

2017-11-27 21:22:42 +03:00
using Bit.App.Resources;
using Bit.App.Utilities;
using Xamarin.Forms;
namespace Bit.App.Controls
{
2017-11-27 22:24:47 +03:00
public class AddCipherToolBarItem : ExtendedToolbarItem
2017-11-27 21:22:42 +03:00
{
2017-11-27 22:24:47 +03:00
public AddCipherToolBarItem(Page page, string folderId)
2017-11-27 21:22:42 +03:00
: base(() => Helpers.AddCipher(page, folderId))
{
Text = AppResources.Add;
Icon = "plus.png";
}
}
}