From f1e508cb60e637bd4ce7a4c9178c7d7dee411e2b Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 18 Jan 2019 17:29:39 -0700 Subject: [PATCH] Recover status bar style when canceling PhotoPicker --- .../ConversationView/ConversationViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index 92812e873..be9ef00f0 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -1173,6 +1173,9 @@ typedef enum : NSUInteger { { [super viewDidAppear:animated]; + // recover status bar when returning from PhotoPicker, which is dark (uses light status bar) + [self setNeedsStatusBarAppearanceUpdate]; + [ProfileFetcherJob runWithThread:self.thread]; [self markVisibleMessagesAsRead]; [self startReadTimer];