This commit is contained in:
zhutao
2025-09-01 10:18:39 +08:00
parent 9d13aa13e2
commit c175a979a5
26 changed files with 10 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ class HomeHeader extends StatelessWidget {
child: Column(
children: [
Text(
"Food Safety Scanner",
"Food Safety Check",
style: Theme.of(context).textTheme.titleLarge,
),
Container(

View File

@@ -150,7 +150,7 @@ class _UploadPanelState extends State<UploadPanel> {
),
),
Text(
"Supports JPG, PNG, HEIC formats Max 10MB",
"Supports JPG, PNG, and HElC formats · Max 10MB",
style: Theme.of(context).textTheme.labelSmall,
textAlign: TextAlign.center,
),

View File

@@ -36,7 +36,7 @@ class _MyEditPageState extends State<MyEditPage> {
StepItem(
title: "Food Allergies",
icon: RemixIcons.shield_line,
subTitle: "Help us keep you safe by telling us about your allergies",
subTitle: "Tell us about your allergies so we can help keep you safe",
),
StepItem(
title: "Dietary Preferences",
@@ -175,7 +175,7 @@ class _MyEditPageState extends State<MyEditPage> {
Container(
margin: EdgeInsets.only(top: 5),
child: Text(
"Let's personalize your food safety experience",
"Let's customize your food safety experience",
style: Theme.of(context).textTheme.labelMedium,
),
),

View File

@@ -75,7 +75,7 @@ class _FoodAllergiesState extends State<FoodAllergies> {
decoration: InputDecoration(
isCollapsed: true,
contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16),
hintText: "Add custom allergy...",
hintText: "Add a custom allergy...",
filled: true,
fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
enabledBorder: OutlineInputBorder(

View File

@@ -83,7 +83,7 @@ class _HealthProfileState extends State<HealthProfile> {
decoration: InputDecoration(
isCollapsed: true,
contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16),
hintText: "Add medication...",
hintText: "Add a custom allergy...",
filled: true,
fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
enabledBorder: OutlineInputBorder(

View File

@@ -88,7 +88,7 @@ class _MyPageState extends State<MyPage> with AutomaticKeepAliveClientMixin {
color: Theme.of(context).colorScheme.danger,
),
child: buildTagList(
emptyText: "No food allergies reported",
emptyText: "No allergies reported",
tags: _userProfile.foodAllergiesList,
color: Theme.of(context).colorScheme.danger,
),

View File

@@ -39,7 +39,7 @@ class PageHeader extends StatelessWidget {
style: TextStyle(fontWeight: FontWeight.w700),
),
Text(
"Enter your email to sign up for this app",
"Use your email to get started",
style: Theme.of(context).textTheme.bodySmall,
),
],