profile(refactor): New functionalityy for settings screen

This commit is contained in:
2024-04-02 17:14:17 +03:00
parent a2998c1fc7
commit 76a421bba5
5 changed files with 22 additions and 7 deletions

View File

@@ -451,6 +451,7 @@ class DiaryEditBloc extends Bloc<DiaryEditEvent, DiaryEditState> {
(meal) => meal['type'] == event.value.id,
orElse: () => null);
print(meal);
int? id = event.value.id;
DiaryEditLoadedState updatedState = currentState.copyWith(
currentMeal: event.value,