mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +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
@@ -15,14 +15,11 @@ abstract class CommonTextPubPageState<T extends CommonTextPubPage>
|
||||
@override
|
||||
late final TextEditingController editController;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
editController = TextEditingController(text: widget.initialValue);
|
||||
}
|
||||
|
||||
@override
|
||||
void initPubState() {
|
||||
editController = TextEditingController(
|
||||
text: widget.initialValue,
|
||||
);
|
||||
if (widget.initialValue?.trim().isNotEmpty == true) {
|
||||
enablePublish.value = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user