refactor: cleanup unused imports and add const optimizations

This commit is contained in:
2026-03-25 12:24:15 +01:00
parent cdba16ebe8
commit 589c55c2db
3 changed files with 2 additions and 6 deletions

View File

@@ -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(