Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-22 21:13:16 +08:00
parent 55bed2e830
commit e770e39c8f
59 changed files with 1388 additions and 1265 deletions

View File

@@ -276,9 +276,10 @@ class _WhisperDetailPageState
),
Obx(
() {
final enablePublish = this.enablePublish.value;
return IconButton(
onPressed: () async {
if (enablePublish.value) {
if (enablePublish) {
_whisperDetailController.sendMsg(
message: editController.rawText,
onClearText: editController.clear,
@@ -325,10 +326,10 @@ class _WhisperDetailPageState
}
}
},
icon: Icon(enablePublish.value
icon: Icon(enablePublish
? Icons.send
: Icons.add_photo_alternate_outlined),
tooltip: enablePublish.value ? '发送' : '图片',
tooltip: enablePublish ? '发送' : '图片',
);
},
),