chore(ui): clear reader settings prefer-inject bucket

Convert reader settings and shared setup/custom-font components to field injection so these UI surfaces follow the project inject() convention without changing behavior.

Validation: just ui lint
This commit is contained in:
James Cox
2026-04-22 17:26:49 -04:00
committed by Zach Yale
parent b3fe4fd598
commit 4f7d38a306
6 changed files with 21 additions and 29 deletions
@@ -22,17 +22,16 @@ import {TranslocoDirective, TranslocoService} from '@jsverse/transloco';
]
})
export class SetupComponent {
private fb = inject(FormBuilder);
private setupService = inject(SetupService);
private router = inject(Router);
setupForm: FormGroup;
loading = false;
error: string | null = null;
success = false;
private readonly t = inject(TranslocoService);
constructor(
private fb: FormBuilder,
private setupService: SetupService,
private router: Router
) {
constructor() {
this.setupForm = this.fb.group({
name: ['', [Validators.required]],
username: ['', [Validators.required]],