mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-22 17:22:17 -05:00
Bugfix: Open URL opened Username in browser
This commit is contained in:
parent
7e0a4c9d20
commit
8238f9f76f
@ -587,7 +587,7 @@ namespace keepass2android
|
||||
|
||||
case Resource.Id.menu_goto_url:
|
||||
String url;
|
||||
url = mEntry.Strings.ReadSafe (PwDefs.UserNameField);
|
||||
url = mEntry.Strings.ReadSafe (PwDefs.UrlField);
|
||||
|
||||
// Default http:// if no protocol specified
|
||||
if ( ! url.Contains("://") ) {
|
||||
|
@ -29,6 +29,7 @@ using Android.Content.PM;
|
||||
using Android.Text;
|
||||
using Android.Text.Util;
|
||||
using Android.Text.Method;
|
||||
using KeePassLib.Serialization;
|
||||
|
||||
namespace keepass2android
|
||||
{
|
||||
@ -161,6 +162,8 @@ namespace keepass2android
|
||||
|
||||
StartActivityForResult(intent, 0);
|
||||
Finish();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user