Modify attachment approval back button to not have "back" text.

pull/2/head
Matthew Chen 5 years ago
parent 7a67a7b6b5
commit e2d54d082e

@ -294,7 +294,8 @@ public class AttachmentApprovalViewController: UIPageViewController, UIPageViewC
cancelButton.tintColor = .white
self.navigationItem.leftBarButtonItem = cancelButton
} else {
self.navigationItem.leftBarButtonItem = nil
// Note: using a custom leftBarButtonItem breaks the interactive pop gesture.
self.navigationItem.leftBarButtonItem = self.createOWSBackButton()
}
}

Loading…
Cancel
Save