Clear send button on send
This commit is contained in:
parent
cb5d7593ef
commit
f4def6e97c
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue