Skip to content

Commit

Permalink
UI section title fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavio Alescio committed May 15, 2023
1 parent cb4b96f commit 85273d9
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct CreateRoomScreen: View {
.clipShape(Circle())
VStack(alignment: .leading, spacing: 8) {
Text(L10n.screenCreateRoomRoomNameLabel.uppercased())
.font(.compound.bodySM)
.font(.compound.bodyXS)
.padding(.leading, 16)
.formSectionHeader()
TextField(L10n.screenCreateRoomRoomNameLabel,
Expand Down Expand Up @@ -85,6 +85,7 @@ struct CreateRoomScreen: View {
.lineLimit(3, reservesSpace: false)
} header: {
Text(L10n.screenCreateRoomTopicLabel)
.formSectionHeader()
} footer: {
if !context.viewState.selectedUsers.isEmpty {
selectedUsersSection
Expand Down Expand Up @@ -143,6 +144,7 @@ struct CreateRoomScreen: View {
.pickerStyle(.inline)
} header: {
Text(L10n.commonSecurity.uppercased())
.formSectionHeader()
}
.formSectionStyle()
}
Expand Down
3 changes: 2 additions & 1 deletion UITests/Sources/CreateRoomScreenUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class CreateRoomScreenUITests: XCTestCase {
func testLongInputTopicText() {
let app = Application.launch(.createRoom)
let roomTopic = "Room topic\nvery\nvery\nvery long"
app.textViews[A11yIdentifiers.createRoomScreen.roomTopic].clearAndTypeText(roomTopic)
app.textViews[A11yIdentifiers.createRoomScreen.roomTopic].tap()
app.textViews[A11yIdentifiers.createRoomScreen.roomTopic].typeText(roomTopic)
app.assertScreenshot(.createRoom, step: 3)
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

0 comments on commit 85273d9

Please sign in to comment.