From edabe506788730b8c9d72665d46c42e153d36243 Mon Sep 17 00:00:00 2001
From: Matthew Chen <matthew@signal.org>
Date: Mon, 14 May 2018 11:51:28 -0400
Subject: [PATCH] Respond to CR.

---
 SignalMessaging/ViewControllers/ScreenLockViewController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SignalMessaging/ViewControllers/ScreenLockViewController.m b/SignalMessaging/ViewControllers/ScreenLockViewController.m
index cf3de5b45..958ee2cc3 100644
--- a/SignalMessaging/ViewControllers/ScreenLockViewController.m
+++ b/SignalMessaging/ViewControllers/ScreenLockViewController.m
@@ -91,7 +91,7 @@ NSString *NSStringForScreenLockUIState(ScreenLockUIState value)
 {
     OWSAssertIsOnMainThread();
 
-    if (!self.screenBlockingImageView) {
+    if (!self.isViewLoaded) {
         return;
     }