add publish throttle

Closes #2152

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-19 21:51:47 +08:00
parent 89522e2059
commit 66f15f532f
7 changed files with 16 additions and 8 deletions

View File

@@ -135,7 +135,7 @@ class _ReplyPageState extends CommonRichTextPubPageState<LiveSendDmPanel> {
emojiBtn,
Obx(
() => FilledButton.tonal(
onPressed: enablePublish.value ? onPublish : null,
onPressed: enablePublish.value ? onPublishThrottle : null,
style: FilledButton.styleFrom(
visualDensity: .compact,
padding: const .symmetric(horizontal: 20, vertical: 10),