1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-06 05:17:59 +02: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)
{
case EventTypes.ViewFocused:
if(!e.Source.Password || !_appSettings.AutofillPasswordField)
if(e.Source == null || !e.Source.Password || !_appSettings.AutofillPasswordField)
{
break;
}