1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Use a modal to set the unlock pin (#1064)

* Use separate modal to set pin

* Remove incorrect label

* Fix tab focus for settings and set-pin modals

* Remove leftover code

* Update jslib
This commit is contained in:
Thomas Rittson
2021-09-13 10:52:58 +10:00
committed by GitHub
parent cdac1a4508
commit ebaf27b7c9
8 changed files with 76 additions and 51 deletions

View File

@@ -5,6 +5,7 @@ import { ToasterModule } from 'angular2-toaster';
import { AppRoutingModule } from './app-routing.module';
import { ServicesModule } from './services.module';
import { A11yModule } from '@angular/cdk/a11y';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { DatePipe } from '@angular/common';
@@ -68,6 +69,7 @@ import { SendComponent } from './send/send.component';
import { NavComponent } from './layout/nav.component';
import { PasswordRepromptComponent } from './components/password-reprompt.component';
import { SetPinComponent } from './components/set-pin.component';
import { registerLocaleData } from '@angular/common';
import localeAf from '@angular/common/locales/af';
@@ -171,6 +173,7 @@ registerLocaleData(localeZhTw, 'zh-TW');
ServicesModule,
ToasterModule.forRoot(),
ScrollingModule,
A11yModule,
],
declarations: [
A11yTitleDirective,
@@ -220,6 +223,7 @@ registerLocaleData(localeZhTw, 'zh-TW');
VaultComponent,
ViewComponent,
PasswordRepromptComponent,
SetPinComponent,
],
providers: [DatePipe],
bootstrap: [AppComponent],