|
|
|
@ -76,6 +76,8 @@ NSString *NSStringForScreenLockUIState(ScreenLockUIState value)
|
|
|
|
|
|
|
|
|
|
self.screenBlockingImageView = imageView;
|
|
|
|
|
self.screenBlockingButton = button;
|
|
|
|
|
|
|
|
|
|
[self updateUIWithState:ScreenLockUIStateScreenProtection isLogoAtTop:NO animated:NO];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// The "screen blocking" window has three possible states:
|
|
|
|
@ -89,6 +91,10 @@ NSString *NSStringForScreenLockUIState(ScreenLockUIState value)
|
|
|
|
|
{
|
|
|
|
|
OWSAssertIsOnMainThread();
|
|
|
|
|
|
|
|
|
|
if (!self.isViewLoaded) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
BOOL shouldShowBlockWindow = uiState != ScreenLockUIStateNone;
|
|
|
|
|
BOOL shouldHaveScreenLock = uiState == ScreenLockUIStateScreenLock;
|
|
|
|
|
|
|
|
|
|