mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: create dynamic panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -283,7 +283,7 @@ class _ReplyPageState extends State<ReplyPage>
|
||||
autofocus: false,
|
||||
readOnly: snapshot.data ?? false,
|
||||
onChanged: (value) {
|
||||
bool isEmpty = value.replaceAll('\n', '').isEmpty;
|
||||
bool isEmpty = value.trim().isEmpty;
|
||||
if (!isEmpty && !_enablePublish) {
|
||||
_enablePublish = true;
|
||||
_publishStream.add(true);
|
||||
|
||||
Reference in New Issue
Block a user