Clear send button on send

This commit is contained in:
JHubi1 2024-06-03 16:59:07 +02:00
parent cb5d7593ef
commit f4def6e97c
No known key found for this signature in database
GPG Key ID: 7BF82570CBBBD050
1 changed files with 3 additions and 0 deletions

View File

@ -1032,6 +1032,9 @@ class _MainAppState extends State<MainApp> {
size: 44)))), size: 44)))),
onSendPressed: (p0) async { onSendPressed: (p0) async {
HapticFeedback.selectionClick(); HapticFeedback.selectionClick();
setState(() {
sendable = false;
});
if (host == null) { if (host == null) {
ScaffoldMessenger.of(context).showSnackBar(SnackBar( ScaffoldMessenger.of(context).showSnackBar(SnackBar(