rename back to current names

This commit is contained in:
Philipp Crocoll
2025-02-11 13:53:55 +01:00
parent 8ebe1bb0d9
commit 38aaa91c5b
784 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using Android.Graphics.Drawables;
using keepass2android;
namespace keepass2android
{
/// <summary>
/// Reperesents the popup menu item in EntryActivity to go to the URL in the field
/// </summary>
class GotoUrlMenuItem : IPopupMenuItem
{
public string UrlFieldKey { get; }
private readonly EntryActivity _ctx;
public GotoUrlMenuItem(EntryActivity ctx, string urlFieldKey)
{
UrlFieldKey = urlFieldKey;
_ctx = ctx;
}
public Drawable Icon
{
get { return _ctx.Resources.GetDrawable(Resource.Drawable.baseline_upload_24); }
}
public string Text
{
get { return _ctx.Resources.GetString(Resource.String.menu_url); }
}
public void HandleClick()
{
_ctx.GotoUrl(UrlFieldKey);
}
}
}