mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
lock screen message improvements
This commit is contained in:
parent
e7c3d1048d
commit
bccb77356b
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit e7464785e134e5d723a4901cf54c5dd1668efb5c
|
||||
Subproject commit 65bd33d860f3af71968a15e78491221091c4369e
|
@ -19,6 +19,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{{'loggedInAs' | i18n : email}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<button type="submit" class="btn primary block" appBlurClick>
|
||||
|
@ -2,7 +2,6 @@ import {
|
||||
Component,
|
||||
NgZone,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
} from '@angular/core';
|
||||
import {
|
||||
ActivatedRoute,
|
||||
@ -24,7 +23,7 @@ import { LockComponent as BaseLockComponent } from 'jslib/angular/components/loc
|
||||
selector: 'app-lock',
|
||||
templateUrl: 'lock.component.html',
|
||||
})
|
||||
export class LockComponent extends BaseLockComponent implements OnInit, OnDestroy {
|
||||
export class LockComponent extends BaseLockComponent implements OnDestroy {
|
||||
private reloadInterval: number = null;
|
||||
|
||||
constructor(router: Router, i18nService: I18nService,
|
||||
@ -35,7 +34,8 @@ export class LockComponent extends BaseLockComponent implements OnInit, OnDestro
|
||||
super(router, i18nService, platformUtilsService, messagingService, userService, cryptoService);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
async ngOnInit() {
|
||||
await super.ngOnInit();
|
||||
this.route.queryParams.subscribe((params) => {
|
||||
if (params.refresh === 'true') {
|
||||
// Refresh the renderer window when locked to enure that all purged memory is cleaned up
|
||||
|
@ -734,6 +734,15 @@
|
||||
"unlock": {
|
||||
"message": "Unlock"
|
||||
},
|
||||
"loggedInAs": {
|
||||
"message": "Logged in as $EMAIL$.",
|
||||
"placeholders": {
|
||||
"email": {
|
||||
"content": "$1",
|
||||
"example": "name@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"invalidMasterPassword": {
|
||||
"message": "Invalid master password"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user