Skip to content

Commit

Permalink
Update drives_cubit.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed May 30, 2024
1 parent c6caa68 commit 9209d69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/blocs/drives/drives_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ class DrivesCubit extends Cubit<DrivesState> {
drivesWithAlerts: const [],
canCreateNewDrive: false);

if (isClosed) {
return;
}

emit(state);
}

Expand Down

0 comments on commit 9209d69

Please sign in to comment.