diff --git a/ElementX/Sources/Screens/RoomScreen/View/RoomHeaderView.swift b/ElementX/Sources/Screens/RoomScreen/View/RoomHeaderView.swift index e138e2fac..68dc0a08c 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/RoomHeaderView.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/RoomHeaderView.swift @@ -24,8 +24,8 @@ struct RoomHeaderView: View { .font(.compound.bodyLGSemibold) .accessibilityIdentifier(A11yIdentifiers.roomScreen.name) } - // Leading align whilst using the principal toolbar position. - .frame(maxWidth: .infinity, alignment: .leading) + // Take up as much space as possible, with a leading alignment for use in the principal toolbar position. + .frame(idealWidth: .greatestFiniteMagnitude, maxWidth: .infinity, alignment: .leading) } private var avatarImage: some View { diff --git a/codecov.yml b/codecov.yml index 7af5676de..a13d2ab90 100644 --- a/codecov.yml +++ b/codecov.yml @@ -14,6 +14,7 @@ ignore: - "ElementX/Sources/Vendor" - "ElementX/Sources/UITests" - "ElementX/Sources/UnitTests" + - "ElementX/Sources/Settings/DeveloperOptionsScreen" - "Tools" - "**/Mock*.swift" - "**/*Mock.swift"