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

View file

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