mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
del at user
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -245,14 +245,7 @@ class _WhisperDetailPageState
|
||||
controller: editController,
|
||||
minLines: 1,
|
||||
maxLines: 4,
|
||||
onChanged: (value) {
|
||||
bool isNotEmpty = value.trim().isNotEmpty;
|
||||
if (isNotEmpty && !enablePublish.value) {
|
||||
enablePublish.value = true;
|
||||
} else if (!isNotEmpty && enablePublish.value) {
|
||||
enablePublish.value = false;
|
||||
}
|
||||
},
|
||||
onChanged: onChanged,
|
||||
textInputAction: TextInputAction.newline,
|
||||
decoration: InputDecoration(
|
||||
filled: true,
|
||||
|
||||
Reference in New Issue
Block a user