revert(ui): ChildCardWidget identique au commit b18d5c8 (7 fév. 2026)
- Restauration fichier tel que dans feat(frontend): Refonte multi-modes (#78) - Retrait onGenreChanged (step3/step5) ; genre API: défaut Autre si non renseigné jusqu’à nouvelle UI genre Made-with: Cursor
This commit is contained in:
@@ -281,10 +281,6 @@ class _ParentRegisterStep3ScreenState extends State<ParentRegisterStep3Screen> {
|
||||
final c = registrationData.children[index];
|
||||
registrationData.updateChild(index, c.copyWith(lastName: value));
|
||||
}),
|
||||
onGenreChanged: (value) {
|
||||
final oldChild = registrationData.children[index];
|
||||
registrationData.updateChild(index, oldChild.copyWith(genre: value));
|
||||
},
|
||||
onTogglePhotoConsent: (newValue) {
|
||||
final oldChild = registrationData.children[index];
|
||||
registrationData.updateChild(index, oldChild.copyWith(photoConsent: newValue));
|
||||
@@ -381,10 +377,6 @@ class _ParentRegisterStep3ScreenState extends State<ParentRegisterStep3Screen> {
|
||||
final c = registrationData.children[index];
|
||||
registrationData.updateChild(index, c.copyWith(lastName: value));
|
||||
}),
|
||||
onGenreChanged: (value) {
|
||||
final oldChild = registrationData.children[index];
|
||||
registrationData.updateChild(index, oldChild.copyWith(genre: value));
|
||||
},
|
||||
onTogglePhotoConsent: (newValue) {
|
||||
final oldChild = registrationData.children[index];
|
||||
registrationData.updateChild(index, oldChild.copyWith(photoConsent: newValue));
|
||||
|
||||
Reference in New Issue
Block a user