From 6e7c135348118c67a547b085639c451531407d9c Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 5 Mar 2019 10:32:32 -0800 Subject: [PATCH] Ensure onboarding views never reclaim layout space from dismissed keyboard. --- SignalMessaging/ViewControllers/OWSViewController.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/SignalMessaging/ViewControllers/OWSViewController.m b/SignalMessaging/ViewControllers/OWSViewController.m index 5d756ee94..22e5bdc15 100644 --- a/SignalMessaging/ViewControllers/OWSViewController.m +++ b/SignalMessaging/ViewControllers/OWSViewController.m @@ -208,9 +208,6 @@ UIInterfaceOrientationMask DefaultUIInterfaceOrientationMask(void) // We want to suppress those animations if the view isn't visible, // otherwise presentation animations don't work properly. dispatch_block_t updateLayout = ^{ - // There's no need to use: [UIView animateWithDuration:...]. - // Any layout changes made during these notifications are - // automatically animated. if (self.shouldBottomViewReserveSpaceForKeyboard) { self.bottomLayoutConstraint.constant = MIN(self.bottomLayoutConstraint.constant, offset); } else {