mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
all the row is tappable and fixed an issue with the tests
This commit is contained in:
parent
e7b9b2e8d7
commit
a5dc378cd7
2 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,7 @@ class ComposerCreateActionListTests: XCTestCase {
|
|||
initialViewState: ComposerCreateActionListViewState(
|
||||
actions: ComposerCreateAction.allCases,
|
||||
wysiwygEnabled: true,
|
||||
isScrollingEnabled: false,
|
||||
bindings: ComposerCreateActionListBindings(textFormattingEnabled: true)
|
||||
)
|
||||
)
|
||||
|
|
|
@ -72,6 +72,9 @@ struct ComposerCreateActionList: View {
|
|||
}
|
||||
}
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
viewModel.textFormattingEnabled.toggle()
|
||||
}
|
||||
.padding(.horizontal, 16)
|
||||
.padding(.vertical, 12)
|
||||
|
||||
|
|
Loading…
Reference in a new issue