mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Make sure the room header takes up as much space as possible (to hide the back button). (#3335)
* Make sure the room header takes up as much space as possible (to hide the back button). * Ignore coverage on the developer options screen.
This commit is contained in:
parent
4d7d687954
commit
2184081bc5
@ -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 {
|
||||
|
@ -14,6 +14,7 @@ ignore:
|
||||
- "ElementX/Sources/Vendor"
|
||||
- "ElementX/Sources/UITests"
|
||||
- "ElementX/Sources/UnitTests"
|
||||
- "ElementX/Sources/Settings/DeveloperOptionsScreen"
|
||||
- "Tools"
|
||||
- "**/Mock*.swift"
|
||||
- "**/*Mock.swift"
|
||||
|
Loading…
x
Reference in New Issue
Block a user