mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
all the row is tappable and fixed an issue with the tests
This commit is contained in:
+1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user