no on locked for safari
This commit is contained in:
parent
6ab4086330
commit
07846bb853
|
@ -1,6 +1,6 @@
|
||||||
<div class="home-page">
|
<div class="home-page">
|
||||||
<a ui-sref="environment({animation: 'in-slide-up'})" class="settings-icon">
|
<a ui-sref="environment({animation: 'in-slide-up'})" class="settings-icon">
|
||||||
<i class="fa fa-cog fa-lg"></i><span> Settings</span>
|
<i class="fa fa-cog fa-lg"></i><span> {{i18n.settings}}</span>
|
||||||
</a>
|
</a>
|
||||||
<img src="../../images/logo@2x.png" alt="bitwarden" />
|
<img src="../../images/logo@2x.png" alt="bitwarden" />
|
||||||
<p>{{i18n.loginOrCreateNewAccount}}</p>
|
<p>{{i18n.loginOrCreateNewAccount}}</p>
|
||||||
|
|
|
@ -49,7 +49,8 @@ export class SettingsController {
|
||||||
PopupUtilsService.initListSectionItemListeners(document, angular);
|
PopupUtilsService.initListSectionItemListeners(document, angular);
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
this.showOnLocked = !platformUtilsService.isFirefox() && !platformUtilsService.isEdge();
|
this.showOnLocked = !platformUtilsService.isFirefox() && !platformUtilsService.isEdge()
|
||||||
|
&& !platformUtilsService.isSafari();
|
||||||
this.storageService.get(constantsService.lockOptionKey).then((lockOption: number) => {
|
this.storageService.get(constantsService.lockOptionKey).then((lockOption: number) => {
|
||||||
if (lockOption != null) {
|
if (lockOption != null) {
|
||||||
let option = lockOption.toString();
|
let option = lockOption.toString();
|
||||||
|
|
Loading…
Reference in New Issue