Skip to content

Commit fd2296a

Browse files
committed
Update Body Fat Strings and UI Components
- Changed body fat title and added target body fat title in `StringsManager` for improved clarity. - Updated body fat category colors from green to blue in `BodyFatCategoryData` for better visual distinction. - Adjusted height of `BodyFatItemWidget` to enhance layout consistency across the UI.
1 parent d8a0841 commit fd2296a

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

lib/core/res/strings_manager.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ abstract class AppStrings {
9797

9898
// Body Fat
9999
static const String yourBodyFat = 'Your Body Fat In The';
100-
static const String bodyFatTitle = 'What is your body fat percentage?';
101-
static const String bodyFatSubtitle =
102-
'Select the range that best matches your current body fat percentage';
100+
static const String bodyFatTitle = 'What Is Your Body Shape?';
101+
static const String targetBodyFatTitle = 'What Is Your Target Body Shape?';
103102

104103
// Body Fat Categories - Status
105104
static const String bodyFatStatusIdeal = 'Optimal Range';

lib/features/trainee_measurements/domain/helpers/body_fat_categories_data.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class BodyFatCategoryData {
3939
status: AppStrings.bodyFatStatusGood,
4040
description: AppStrings.bodyFatMaleGoodDesc,
4141
assetPath: AssetsManager.imagesBodyFatMaleGood,
42-
color: ColorManager.green,
42+
color: ColorManager.blue,
4343
),
4444
BodyFatCategoryModel(
4545
min: 24,
@@ -90,7 +90,7 @@ class BodyFatCategoryData {
9090
status: AppStrings.bodyFatStatusGood,
9191
description: AppStrings.bodyFatFemaleGoodDesc,
9292
assetPath: AssetsManager.imagesBodyFatFemaleGood,
93-
color: ColorManager.green,
93+
color: ColorManager.blue,
9494
),
9595
BodyFatCategoryModel(
9696
min: 31,

lib/features/trainee_measurements/presentation/widgets/body_fat/body_fat_item_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class BodyFatItemWidget extends StatelessWidget {
99
@override
1010
Widget build(BuildContext context) {
1111
return Container(
12-
height: 160,
12+
height: AppSize.s180,
1313
width: double.infinity,
1414
decoration: BoxDecoration(
1515
color: ColorManager.veryLightBlue,

0 commit comments

Comments
 (0)