mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 03:04:54 +00:00
Fixed navigation issue
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
// ignore_for_file: avoid_print
|
||||
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:syncrow_app/features/devices/bloc/devices_cubit.dart';
|
||||
|
||||
class MyBlocObserver extends BlocObserver {
|
||||
@override
|
||||
@ -25,9 +24,6 @@ class MyBlocObserver extends BlocObserver {
|
||||
@override
|
||||
void onClose(BlocBase bloc) {
|
||||
super.onClose(bloc);
|
||||
if (bloc is DevicesCubit) {
|
||||
DevicesCubit.clearCategoriesSelection();
|
||||
}
|
||||
print('onClose -- ${bloc.runtimeType}');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user