mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 21:20:27 +00:00
atdb 1
This commit is contained in:
@@ -19,7 +19,6 @@ import { getUserId } from "@bitwarden/common/auth/services/account.service";
|
||||
import { AutofillSettingsServiceAbstraction } from "@bitwarden/common/autofill/services/autofill-settings.service";
|
||||
import { DomainSettingsService } from "@bitwarden/common/autofill/services/domain-settings.service";
|
||||
import { DeviceType } from "@bitwarden/common/enums";
|
||||
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
|
||||
import {
|
||||
VaultTimeout,
|
||||
VaultTimeoutAction,
|
||||
@@ -267,10 +266,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
|
||||
|
||||
// Autotype is for Windows initially
|
||||
const isWindows = this.platformUtilsService.getDevice() === DeviceType.WindowsDesktop;
|
||||
const windowsDesktopAutotypeFeatureFlag = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.WindowsDesktopAutotype,
|
||||
);
|
||||
this.showEnableAutotype = isWindows && windowsDesktopAutotypeFeatureFlag;
|
||||
this.showEnableAutotype = isWindows;
|
||||
|
||||
this.userHasMasterPassword = await this.userVerificationService.hasMasterPassword();
|
||||
|
||||
|
||||
@@ -58,9 +58,7 @@ export class DesktopAutotypeService {
|
||||
]).pipe(
|
||||
map(
|
||||
([autotypeEnabled, windowsDesktopAutotypeFeatureFlag, authStatus]) =>
|
||||
autotypeEnabled &&
|
||||
windowsDesktopAutotypeFeatureFlag &&
|
||||
authStatus == AuthenticationStatus.Unlocked,
|
||||
autotypeEnabled && authStatus == AuthenticationStatus.Unlocked,
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user