From 28038adc0d99fdd7a2fb6d04aaf55b95cbc45baa Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 18 Jun 2025 11:48:39 +0300 Subject: [PATCH] Fixes #4204, #4180 - Fix OS 26 crashes when not running a development build. --- ElementX/Sources/Other/SwiftUI/Views/RoomHeaderView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Other/SwiftUI/Views/RoomHeaderView.swift b/ElementX/Sources/Other/SwiftUI/Views/RoomHeaderView.swift index 0bd8dcfb7..03f1d8fc2 100644 --- a/ElementX/Sources/Other/SwiftUI/Views/RoomHeaderView.swift +++ b/ElementX/Sources/Other/SwiftUI/Views/RoomHeaderView.swift @@ -17,7 +17,7 @@ struct RoomHeaderView: View { let mediaProvider: MediaProviderProtocol? var body: some View { - if #available(iOS 26, *) { + if #available(iOS 19, *) { // https://github.com/element-hq/element-x-ios/issues/4180 // Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSLayoutConstraint constant is not finite! content