fix: null

This commit is contained in:
Simon Ding
2025-04-23 10:39:34 +08:00
parent 9b7527defe
commit cff83e4d5f
2 changed files with 8 additions and 8 deletions

View File

@@ -143,7 +143,7 @@ class _ActivityPageState extends ConsumerState<ActivityPage>
children: [
Text("开始时间:${timeago.format(ac.date!)}"),
Text("大小:${(ac.size ?? 0).readableFileSize()}"),
ac.seedRatio > 0
(ac.seedRatio??0) > 0
? Text("分享率:${ac.seedRatio}")
: SizedBox()
],