fix
This commit is contained in:
@@ -264,8 +264,9 @@ class MapBloc extends Bloc<ScooterEvent, ScooterState> {
|
||||
FutureOr<void> _onLogoutPressed(
|
||||
LogoutPressed event,
|
||||
Emitter<ScooterState> emit,
|
||||
) {
|
||||
logoutUseCase();
|
||||
) async {
|
||||
await logoutUseCase();
|
||||
stopNotificationStream();
|
||||
splashBloc.add(AuthCheckRequested());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user