finish setup wizard and ui language-keyboard feature

This commit is contained in:
Matt Hill
2026-01-15 23:49:24 -07:00
parent db344386ef
commit 708b273b42
28 changed files with 637 additions and 220 deletions

View File

@@ -31,6 +31,10 @@ export class AppComponent {
switch (status.status) {
case 'needs-install':
// Restore keyboard from status if it was previously set
if (status.keyboard) {
this.stateService.keyboard = status.keyboard.layout
}
// Start the install flow
await this.router.navigate(['/language'])
break
@@ -39,6 +43,10 @@ export class AppComponent {
// Store the data drive info from status
this.stateService.dataDriveGuid = status.guid
this.stateService.attach = status.attach
// Restore keyboard from status if it was previously set
if (status.keyboard) {
this.stateService.keyboard = status.keyboard.layout
}
await this.router.navigate(['/language'])
break