dev #1

Merged
aefril merged 128 commits from dev into main 2025-08-13 17:19:48 +00:00
2 changed files with 27 additions and 17 deletions
Showing only changes of commit 811ae06e58 - Show all commits

View File

@ -69,6 +69,16 @@ class _OutletDialogState extends State<OutletDialog> {
),
),
SpaceHeight(24),
BlocListener<UserUpdateOutletBloc, UserUpdateOutletState>(
listener: (context, state) {
state.maybeWhen(
orElse: () {},
success: () {
context.pop();
},
);
},
child:
BlocBuilder<UserUpdateOutletBloc, UserUpdateOutletState>(
builder: (context, state) {
return state.maybeWhen(
@ -88,6 +98,7 @@ class _OutletDialogState extends State<OutletDialog> {
);
},
),
),
],
),
);

View File

@ -127,7 +127,6 @@ class _HomePageState extends State<HomePage> {
orElse: () {},
loading: () {},
success: () {
context.pop();
Future.delayed(Duration(milliseconds: 300), () {
AppFlushbar.showSuccess(context, 'Outlet berhasil diubah');
context