opt: func

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-07 14:41:25 +08:00
parent 286193f08f
commit dd6ff101d1
63 changed files with 181 additions and 180 deletions

View File

@@ -471,7 +471,8 @@ class _SendDanmakuPanelState extends CommonPublishPageState<SendDanmakuPanel> {
}
@override
Future onCustomPublish({required String message, List? pictures}) async {
Future<void> onCustomPublish(
{required String message, List? pictures}) async {
SmartDialog.showLoading(msg: '发送中...');
bool isColorful = _color.value == Colors.transparent;
final res = await DanmakuHttp.shootDanmaku(