chore(ui): clear final prefer-inject bucket

Convert the remaining feature and core constructors flagged by prefer-inject to field injection so the last Angular inject() violations are removed across upload dialogs, core services, and bookdrop flows.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:50 -04:00
committed by Zach Yale
parent 4f7d38a306
commit 878cfa09c8
6 changed files with 23 additions and 34 deletions
@@ -40,14 +40,11 @@ export class BookFileAttacherComponent implements OnInit, OnDestroy {
private readonly t = inject(TranslocoService);
private readonly appSettingsService = inject(AppSettingsService);
constructor(
private dialogRef: DynamicDialogRef,
private config: DynamicDialogConfig,
private bookService: BookService,
private bookFileService: BookFileService,
private messageService: MessageService
) {}
private dialogRef = inject(DynamicDialogRef);
private config = inject(DynamicDialogConfig);
private bookService = inject(BookService);
private bookFileService = inject(BookFileService);
private messageService = inject(MessageService);
ngOnInit(): void {
// Support both single book and multiple books