remove boolext

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-30 22:19:32 +08:00
parent 3031d5e3b0
commit a260b1640a
55 changed files with 185 additions and 257 deletions

View File

@@ -54,7 +54,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
super.initState();
WidgetsBinding.instance.addObserver(this);
if (widget.initialValue.isNullOrEmpty.not) {
if (widget.initialValue?.trim().isNotEmpty == true) {
enablePublish.value = true;
}