Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-01 13:21:37 +08:00
parent aa8eef46da
commit 5c28376210
4 changed files with 13 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ abstract class CommonDynController<R> extends ReplyController<R>
late final AnimationController fabAnimationCtr;
late final Animation<Offset> fabAnim;
final RxBool showTitle = false.obs;
late final RxBool showTitle = false.obs;
late final horizontalPreview = Pref.horizontalPreview;
late final List<double> ratio = Pref.dynamicDetailRatio;

View File

@@ -60,9 +60,12 @@ abstract class CommonDynPageState<T extends CommonDynPage> extends State<T>
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Obx(
() => Text(
'${controller.count.value == -1 ? 0 : NumUtil.numFormat(controller.count.value)}条回复',
),
() {
final count = controller.count.value;
return Text(
'${count == -1 ? 0 : NumUtil.numFormat(count)}条回复',
);
},
),
SizedBox(
height: 35,