opt video keyboard event

opt code

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-12 18:42:06 +08:00
parent d6bff33d29
commit b6352a6a43
42 changed files with 763 additions and 601 deletions

View File

@@ -65,6 +65,7 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
}
}
late bool _isSending = false;
Future<void> sendMsg({
String? message,
Map? picMsg,
@@ -73,6 +74,8 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
int? index,
}) async {
assert((message != null) ^ (picMsg != null));
if (_isSending) return;
_isSending = true;
feedBack();
SmartDialog.dismiss();
if (!accountService.isLogin.value) {
@@ -102,6 +105,7 @@ class WhisperDetailController extends CommonListController<RspSessionMsg, Msg> {
} else {
result.toast();
}
_isSending = false;
}
@override