1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-25 16:47:55 +01:00

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;
} }