Skip to content

Commit 4332da8

Browse files
committed
Don't use chat list iOS 26 workaround on previous iOS versions
1 parent b293cf9 commit 4332da8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Signal/src/ViewControllers/HomeView/Chat List/ChatListViewController.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ public class ChatListViewController: OWSViewController, HomeTabViewController {
117117
extendedLayoutIncludesOpaqueBars = true
118118
}
119119

120+
guard #available(iOS 26, *), BuildFlags.iOS26SDKIsAvailable else {
121+
self._viewWillAppear(animated)
122+
return
123+
}
124+
120125
// iOS 26.1 introduced an egregious bug where view controller lifecycle
121126
// functions are called inside the push/pop animation blocks when using
122127
// UITabViewController. In practice, this means that changes to the chat

0 commit comments

Comments
 (0)