fix compile errors

This commit is contained in:
Philipp Crocoll
2019-08-15 06:51:27 +02:00
parent 134234da12
commit 7a94f83019
3 changed files with 4 additions and 4 deletions

View File

@@ -148,8 +148,8 @@ namespace keepass2android
private void MakePasswordMaskedOrVisible()
{
TextView password = (TextView)FindViewById(Resource.Id.entry_password);
TextView confpassword = (TextView)FindViewById(Resource.Id.entry_confpassword);
EditText password = (EditText)FindViewById(Resource.Id.entry_password);
TextView confpassword = (TextView)FindViewById(Resource.Id.entry_confpassword);
int selStart = password.SelectionStart, selEnd = password.SelectionEnd;
if (_showPassword)
{

View File

@@ -391,7 +391,7 @@ namespace keepass2android
private void MakePasswordVisibleOrHidden()
{
TextView password = (TextView) FindViewById(Resource.Id.entry_password);
EditText password = (EditText) FindViewById(Resource.Id.entry_password);
TextView confpassword = (TextView) FindViewById(Resource.Id.entry_confpassword);
int selStart = password.SelectionStart, selEnd = password.SelectionEnd;
if (State.ShowPassword)

View File

@@ -1497,7 +1497,7 @@ namespace keepass2android
private void MakePasswordMaskedOrVisible()
{
TextView password = (TextView) FindViewById(Resource.Id.password_edit);
EditText password = (EditText) FindViewById(Resource.Id.password_edit);
int selStart = password.SelectionStart, selEnd = password.SelectionEnd;
if (_showPassword)
{