forked from eatvio/eatvio_app
feat: diary time of meal
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user