Skip to content

Instantly share code, notes, and snippets.

@apatronl
Created May 2, 2024 03:35
Show Gist options
  • Save apatronl/bfd0a42ce6d4334258f2ad9d79a15fff to your computer and use it in GitHub Desktop.
Save apatronl/bfd0a42ce6d4334258f2ad9d79a15fff to your computer and use it in GitHub Desktop.
SendMessageButton {
Task {
await viewModel.sendMessage()
}
}
.disabled(!viewModel.canSendMessage)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment