From 067b10ed7fa3e1fe1bd9f2588a35c77f202d6059 Mon Sep 17 00:00:00 2001 From: Username1548 Date: Wed, 11 Dec 2024 20:01:01 +0700 Subject: [PATCH] fixed layout bug in info row --- lib/core/widgets/diet_info_row.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/widgets/diet_info_row.dart b/lib/core/widgets/diet_info_row.dart index fdf5f34a..564cf015 100644 --- a/lib/core/widgets/diet_info_row.dart +++ b/lib/core/widgets/diet_info_row.dart @@ -41,7 +41,7 @@ class InfoRow extends StatelessWidget { ), SizedBox(width: 4), Text( - diet == null ? '${plan?.duration} ${getDayForm(plan?.duration ?? 7, s)}' : '${plan?.duration} ${getDayForm(plan?.duration ?? 7, s)}', + diet == null ? '${plan?.duration} ${getDayForm(plan?.duration ?? 7, s)}' : '${diet?.duration} ${getDayForm(diet?.duration ?? 7, s)}', style: TextStyles.textXSSemibold.copyWith(color: appTheme.black), ), ],