ios配置

This commit is contained in:
tao
2025-08-29 10:26:37 +08:00
parent 60b7ce6e96
commit 00dd33830c
13 changed files with 440 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ class _FoodAllergiesState extends State<FoodAllergies> {
void _handConfirmCustom() {
var state = SelectionProvider.of(context);
if (!getIsSelect(_otherController.text)) {
if (_otherController.text.isNotEmpty && !getIsSelect(_otherController.text)) {
state.update((p) => p.foodAllergiesList.add(_otherController.text));
_otherController.text = "";
}

View File

@@ -37,7 +37,7 @@ class _HealthProfileState extends State<HealthProfile> {
///确认搜索内容
void _handConfirmCustom() {
var state = SelectionProvider.of(context);
if (!getIsSelect(_otherController.text)) {
if (_otherController.text.isNotEmpty && !getIsSelect(_otherController.text)) {
state.update((p) => p.currentMedicationsList.add(_otherController.text));
_otherController.text = "";
}

View File

@@ -72,7 +72,7 @@ class _LoginPageState extends State<LoginPage> {
);
} else {
_googleSignIn.initialize(
clientId: "512878764950-u703jdn6imu33rthp94dg7cl5vmrc7rf.apps.googleusercontent.com",
clientId: "512878764950-1ke7slf0c6dlmchnuk0fqh3fe954gcf2.apps.googleusercontent.com",
serverClientId: "512878764950-0bsl98c4q4p695mlmfn35qhmr2ld5n0o.apps.googleusercontent.com",
);
}