composer code improvement

This commit is contained in:
Mauro Romito
2022-10-12 16:52:12 +02:00
parent c41342f592
commit 44ec5e8a68
@@ -60,15 +60,6 @@ struct Composer: View {
// MARK: Public
@Environment(\.theme) private var theme: ThemeSwiftUI
@ObservedObject var viewModel: WysiwygComposerViewModel
let sendMessageAction: (WysiwygComposerContent) -> Void
let showSendMediaActions: () -> Void
var textColor = Color(.label)
@State private var showSendButton = false
var body: some View {
VStack {
let rect = RoundedRectangle(cornerRadius: cornerRadius)