Skip to content

Commit

Permalink
fix: fix event date setting not pop when save
Browse files Browse the repository at this point in the history
  • Loading branch information
mthinh committed Oct 11, 2024
1 parent e9fa8dd commit e5a692b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,13 @@ class _EventDatetimeSettingsPageState
showIconContainer: true,
iconContainerColor: LemonColor.acidGreen,
);
AutoRouter.of(context).pop();
Future.delayed(const Duration(milliseconds: 500));
context.read<GetEventDetailBloc>().add(
GetEventDetailEvent.fetch(
eventId: widget.event!.id ?? '',
),
);
AutoRouter.of(context).pop();
}
},
builder: (context, state) {
Expand Down

0 comments on commit e5a692b

Please sign in to comment.