From bee7c71dff18209f810d201f3c52301cf38f78b2 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Thu, 16 Jun 2016 16:42:01 -0700 Subject: [PATCH] Prevent freeze when swiping back twice. (#1224) FIXES #1222 Maybe this code was a vestige of a former way we were customizing the back button. In any case, it's no longer required for swipe-to-pop functionality. // FREEBIE --- Signal/src/view controllers/MessagesViewController.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/Signal/src/view controllers/MessagesViewController.m b/Signal/src/view controllers/MessagesViewController.m index 4d0152c17..6189dd872 100644 --- a/Signal/src/view controllers/MessagesViewController.m +++ b/Signal/src/view controllers/MessagesViewController.m @@ -192,9 +192,6 @@ typedef enum : NSUInteger { selector:@selector(cancelReadTimer) name:UIApplicationDidEnterBackgroundNotification object:nil]; - - self.navigationController.interactivePopGestureRecognizer.delegate = self; // Swipe back to inbox fix. See - // http://stackoverflow.com/questions/19054625/changing-back-button-in-ios-7-disables-swipe-to-navigate-back } - (void)initializeTextView {