Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 11:48:42 +08:00
parent 1efd62803a
commit ac60ac417b
130 changed files with 1631 additions and 2132 deletions

View File

@@ -60,7 +60,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
}
if (widget.autofocus) {
Future.delayed(const Duration(milliseconds: 300)).then((_) {
Future.delayed(const Duration(milliseconds: 300)).whenComplete(() {
if (mounted) {
focusNode.requestFocus();
}
@@ -319,9 +319,7 @@ abstract class CommonPublishPageState<T extends CommonPublishPage>
child: iconButton(
context: context,
icon: Icons.edit,
onPressed: () {
onCropImage(index);
},
onPressed: () => onCropImage(index),
size: 24,
iconSize: 14,
bgColor: color,