shorthand null check

This commit is contained in:
Kyle Spearrin 2017-09-28 22:56:36 -04:00
parent da847f6567
commit bf76707e92

View file

@ -260,10 +260,7 @@ namespace Bit.iOS.Extension
NSRunLoop.Main.BeginInvokeOnMainThread(() => NSRunLoop.Main.BeginInvokeOnMainThread(() =>
{ {
Resolver.ResetResolver(); Resolver.ResetResolver();
if(ExtensionContext != null) ExtensionContext?.CompleteRequest(returningItems, null);
{
ExtensionContext.CompleteRequest(returningItems, null);
}
}); });
}); });
} }