From 5cf0441f55a90958b6336fb8eeb33cc8ad7f0a5e Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 10 Jul 2017 16:42:51 -0400 Subject: [PATCH] Add a reminder that you are in archive view. // FREEBIE --- Signal/src/ViewControllers/SignalsViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Signal/src/ViewControllers/SignalsViewController.m b/Signal/src/ViewControllers/SignalsViewController.m index 2fac986ca..56c28ff90 100644 --- a/Signal/src/ViewControllers/SignalsViewController.m +++ b/Signal/src/ViewControllers/SignalsViewController.m @@ -366,6 +366,9 @@ self.isViewVisible = YES; [self checkIfEmptyView]; + // When returning to home view, try to ensure that the "last" thread is still + // visible. The threads often change ordering while in conversation view due + // to incoming & outgoing messages. if (self.lastThread) { NSIndexPath *indexPathOfLastThread = nil; NSUInteger numberOfSections = [self.threadMappings numberOfSections];