fix null ref with e.source

This commit is contained in:
Kyle Spearrin 2018-02-08 17:07:01 -05:00
parent 170876ac16
commit c71608824b
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ namespace Bit.Android
switch(e.EventType)
{
case EventTypes.ViewFocused:
if(!e.Source.Password || !_appSettings.AutofillPasswordField)
if(e.Source == null || !e.Source.Password || !_appSettings.AutofillPasswordField)
{
break;
}