feat: diary time of meal

This commit is contained in:
Alex
2024-12-01 23:33:42 +03:00
parent 7e0ca28ede
commit d2c2d4d479
3 changed files with 14 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ class _DiaryScreenState extends State<DiaryScreen> {
@override
Widget build(BuildContext context) {
return BlocProvider<DiaryCubit>(
create: (BuildContext context) => sl<DiaryCubit>()..fetchDiary(),
create: (BuildContext context) => sl<DiaryCubit>()..fetchDiary(true),
child: BlocBuilder<DiaryCubit, DiaryState>(
builder: (BuildContext context, DiaryState state) {
return Scaffold(