Synchronise composer and toolbar resizing animation duration

This commit is contained in:
aringenbach
2022-11-02 15:17:54 +01:00
committed by aringenbach
parent bf767b1362
commit 32f9d15635
5 changed files with 12 additions and 3 deletions
@@ -54,7 +54,11 @@ enum MockComposerScreenState: MockScreenState, CaseIterable {
[viewModel, wysiwygviewModel],
AnyView(VStack {
Spacer()
Composer(viewModel: viewModel.context, wysiwygViewModel: wysiwygviewModel, sendMessageAction: { _ in }, showSendMediaActions: { })
Composer(viewModel: viewModel.context,
wysiwygViewModel: wysiwygviewModel,
resizeAnimationDuration: 0.1,
sendMessageAction: { _ in },
showSendMediaActions: { })
}.frame(
minWidth: 0,
maxWidth: .infinity,