opt publish page

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-28 12:58:50 +08:00
parent cf6754db0a
commit a6b4e6360c
7 changed files with 57 additions and 76 deletions

View File

@@ -281,7 +281,6 @@ class _ReplyPageState extends CommonRichTextPubPageState<ReplyPage> {
children: [
item(
onTap: () async {
controller.keepChatPanel();
final ({String title, String url})? res = await Get.to(
ReplySearchPage(type: widget.replyType, oid: widget.oid),
);
@@ -292,7 +291,6 @@ class _ReplyPageState extends CommonRichTextPubPageState<ReplyPage> {
rawText: '${res.url} ',
);
}
controller.restoreChatPanel();
},
icon: Icon(Icons.post_add, size: 28, color: color),
title: '插入内容',

View File

@@ -419,9 +419,8 @@ class _SendDanmakuPanelState extends CommonTextPubPageState<SendDanmakuPanel> {
);
}
Future<void> _showColorPicker() async {
controller.keepChatPanel();
await showDialog(
void _showColorPicker() {
showDialog(
context: context,
builder: (context) => AlertDialog(
clipBehavior: Clip.hardEdge,
@@ -437,7 +436,6 @@ class _SendDanmakuPanelState extends CommonTextPubPageState<SendDanmakuPanel> {
),
),
);
controller.restoreChatPanel();
}
@override