💄 Optimized attachment insert in article compose

This commit is contained in:
2025-07-03 01:11:56 +08:00
parent ee72d79c93
commit 23321171f3
4 changed files with 26 additions and 10 deletions

View File

@ -106,7 +106,11 @@ class AttachmentPreview extends StatelessWidget {
style: TextStyle(color: Colors.white),
),
Gap(6),
Center(child: LinearProgressIndicator(value: progress)),
Center(
child: LinearProgressIndicator(
value: progress != null ? progress! / 100.0 : null,
),
),
],
),
),