mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
fixes (#1809)
* Revert "opt gesture"
This reverts commit bd97f9a500.
* revert: late init
* update [skip ci]
Signed-off-by: dom <githubaccount56556@proton.me>
---------
Co-authored-by: dom <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
777c3c2278
commit
7eaf05839a
@@ -60,16 +60,11 @@ abstract class CommonRichTextPubPageState<T extends CommonRichTextPubPage>
|
||||
late final RichTextEditingController editController;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
void initPubState() {
|
||||
editController = RichTextEditingController(
|
||||
items: widget.items,
|
||||
onMention: onMention,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
void initPubState() {
|
||||
if (editController.rawText.trim().isNotEmpty) {
|
||||
enablePublish.value = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user