From bf76707e922226be3caa1efecae644bd65fe098d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 28 Sep 2017 22:56:36 -0400 Subject: [PATCH] shorthand null check --- src/iOS.Extension/LoadingViewController.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index 36e3edf4b3..3433461bcd 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -260,10 +260,7 @@ namespace Bit.iOS.Extension NSRunLoop.Main.BeginInvokeOnMainThread(() => { Resolver.ResetResolver(); - if(ExtensionContext != null) - { - ExtensionContext.CompleteRequest(returningItems, null); - } + ExtensionContext?.CompleteRequest(returningItems, null); }); }); }