composer code improvement

This commit is contained in:
Mauro Romito
2022-10-12 16:52:12 +02:00
parent c543f04561
commit a0057e4d4e
@@ -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)