mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Merge branch 'mkirk/fix-ios10-cant-see-inbox' into hotfix/2.27.1
This commit is contained in:
commit
1448c505da
|
@ -231,6 +231,13 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
|
||||||
[reminderStackView autoPinWidthToSuperview];
|
[reminderStackView autoPinWidthToSuperview];
|
||||||
[reminderStackView autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
[reminderStackView autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
||||||
|
|
||||||
|
// Fixes ambiguous height of an empty stack view pinned above a scroll view on iOS10.
|
||||||
|
// Without this users would sometimes see the empty stackview take up most of their screen.
|
||||||
|
[NSLayoutConstraint autoSetPriority:UILayoutPriorityDefaultLow
|
||||||
|
forConstraints:^{
|
||||||
|
[reminderStackView autoSetDimension:ALDimensionHeight toSize:0];
|
||||||
|
}];
|
||||||
|
|
||||||
__weak HomeViewController *weakSelf = self;
|
__weak HomeViewController *weakSelf = self;
|
||||||
ReminderView *deregisteredView =
|
ReminderView *deregisteredView =
|
||||||
[ReminderView nagWithText:NSLocalizedString(@"DEREGISTRATION_WARNING",
|
[ReminderView nagWithText:NSLocalizedString(@"DEREGISTRATION_WARNING",
|
||||||
|
|
Loading…
Reference in a new issue