forked from eatvio/eatvio_app
refactor(diary): Merge conflic resolve
This commit is contained in:
@@ -242,7 +242,7 @@ class DiaryBloc extends Bloc<DiaryEvent, DiaryState> {
|
||||
final productNutritionalValues = await diaryRepository.inputProduct(event.input);
|
||||
|
||||
// Create a new controller with the input text and update the autocomplete list
|
||||
var updatedState = currentState.copyWith(
|
||||
/*var updatedState = currentState.copyWith(
|
||||
productNameController: TextEditingController(text: event.input),
|
||||
autocompleteList: productNutritionalValues.map((product) => product['name']).toList(),
|
||||
);
|
||||
@@ -252,7 +252,7 @@ class DiaryBloc extends Bloc<DiaryEvent, DiaryState> {
|
||||
updatedState = updatedState.copyWith(moderationExpanded: false);
|
||||
}
|
||||
|
||||
emit(updatedState); // Emit the updated state
|
||||
emit(updatedState); */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user