1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 21:20:27 +00:00
This commit is contained in:
Colton Hurst
2025-07-31 18:30:57 -04:00
parent 088b1733dd
commit 8d1ca3a650
2 changed files with 2 additions and 8 deletions

View File

@@ -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();

View File

@@ -58,9 +58,7 @@ export class DesktopAutotypeService {
]).pipe(
map(
([autotypeEnabled, windowsDesktopAutotypeFeatureFlag, authStatus]) =>
autotypeEnabled &&
windowsDesktopAutotypeFeatureFlag &&
authStatus == AuthenticationStatus.Unlocked,
autotypeEnabled && authStatus == AuthenticationStatus.Unlocked,
),
);