|
|
@ -4227,8 +4227,9 @@ typedef enum : NSUInteger {
|
|
|
|
{
|
|
|
|
{
|
|
|
|
OWSAssertIsOnMainThread();
|
|
|
|
OWSAssertIsOnMainThread();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (oldSize.width != newSize.width) {
|
|
|
|
[self resetForSizeOrOrientationChange];
|
|
|
|
[self resetForSizeOrOrientationChange];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[self updateLastVisibleSortId];
|
|
|
|
[self updateLastVisibleSortId];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -4771,6 +4772,8 @@ typedef enum : NSUInteger {
|
|
|
|
// Do nothing.
|
|
|
|
// Do nothing.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
completion:^(id<UIViewControllerTransitionCoordinatorContext> context) {
|
|
|
|
completion:^(id<UIViewControllerTransitionCoordinatorContext> context) {
|
|
|
|
|
|
|
|
// When transition animation is complete, update layout to reflect
|
|
|
|
|
|
|
|
// new size.
|
|
|
|
[weakSelf resetForSizeOrOrientationChange];
|
|
|
|
[weakSelf resetForSizeOrOrientationChange];
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
|
|