refactor: cleanup unused imports and add const optimizations
This commit is contained in:
@@ -151,7 +151,7 @@ class ScanBloc extends Bloc<ScanEvent, ScanState> {
|
||||
tour: currentTour,
|
||||
));
|
||||
} else {
|
||||
emit(ScanError(
|
||||
emit(const ScanError(
|
||||
message: 'Fehler: Ungültiger Barcode für Lager Beladung',
|
||||
));
|
||||
}
|
||||
@@ -835,7 +835,6 @@ class ScanBloc extends Bloc<ScanEvent, ScanState> {
|
||||
final result = await repository.createObject(
|
||||
type: event.type,
|
||||
code: event.barcode,
|
||||
isManual: true,
|
||||
);
|
||||
|
||||
result.fold(
|
||||
|
||||
Reference in New Issue
Block a user