mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -256,5 +256,5 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
|
||||
enablePublish.value = value.trim().isNotEmpty;
|
||||
}
|
||||
|
||||
void onSave() {}
|
||||
void onSave();
|
||||
}
|
||||
|
||||
@@ -228,22 +228,23 @@ abstract class CommonRichTextPubPageState<T extends CommonRichTextPubPage>
|
||||
"biz_id": "",
|
||||
});
|
||||
case RichTextType.vote:
|
||||
list.add({
|
||||
"raw_text": e.rawText,
|
||||
"type": 4,
|
||||
"biz_id": e.id,
|
||||
});
|
||||
list.add({
|
||||
"raw_text": ' ',
|
||||
"type": 1,
|
||||
"biz_id": "",
|
||||
});
|
||||
list
|
||||
..add({
|
||||
"raw_text": e.rawText,
|
||||
"type": 4,
|
||||
"biz_id": e.id,
|
||||
})
|
||||
..add({
|
||||
"raw_text": ' ',
|
||||
"type": 1,
|
||||
"biz_id": "",
|
||||
});
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
double _mentionOffset = 0;
|
||||
late double _mentionOffset = 0;
|
||||
Future<void> onMention([bool fromClick = false]) async {
|
||||
controller.keepChatPanel();
|
||||
final res = await DynMentionPanel.onDynMention(
|
||||
|
||||
Reference in New Issue
Block a user