Fix visibility of KT in settings

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-02-11 12:41:42 -06:00
committed by GitHub
parent ca257c76e9
commit 77e9845dba
3 changed files with 43 additions and 28 deletions

View File

@@ -590,6 +590,13 @@ export function SmartPreferences(): React.JSX.Element | null {
prodKey: 'desktop.plaintextExport.prod',
});
const isKeyTransparencyAvailable = isFeaturedEnabledSelector({
betaKey: 'desktop.keyTransparency.beta',
prodKey: 'desktop.keyTransparency.prod',
currentVersion: version,
remoteConfig: items.remoteConfig,
});
// Two-way items
function createItemsAccess<K extends keyof StorageAccessType>(
@@ -867,6 +874,7 @@ export function SmartPreferences(): React.JSX.Element | null {
isContentProtectionNeeded={isContentProtectionNeeded}
isContentProtectionSupported={isContentProtectionSupported}
isHideMenuBarSupported={isHideMenuBarSupported}
isKeyTransparencyAvailable={isKeyTransparencyAvailable}
isMinimizeToAndStartInSystemTraySupported={
isMinimizeToAndStartInSystemTraySupported
}