Rev user badges feature flag

This commit is contained in:
Evan Hahn 2021-11-18 15:25:17 -06:00 committed by GitHub
parent d5ae3c94dd
commit 25cdebe15e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export type ConfigKeyType =
| 'desktop.senderKey.send' | 'desktop.senderKey.send'
| 'desktop.senderKey.retry' | 'desktop.senderKey.retry'
| 'desktop.sendSenderKey3' | 'desktop.sendSenderKey3'
| 'desktop.showUserBadges' | 'desktop.showUserBadges2'
| 'desktop.showUserBadges.beta' | 'desktop.showUserBadges.beta'
| 'desktop.storage' | 'desktop.storage'
| 'desktop.storageWrite3' | 'desktop.storageWrite3'

View file

@ -7,7 +7,7 @@ import { isBeta } from '../util/version';
export function shouldShowBadges(): boolean { export function shouldShowBadges(): boolean {
if ( if (
isEnabled('desktop.showUserBadges') || isEnabled('desktop.showUserBadges2') ||
isEnabled('desktop.internalUser') || isEnabled('desktop.internalUser') ||
getEnvironment() === Environment.Staging || getEnvironment() === Environment.Staging ||
getEnvironment() === Environment.Development || getEnvironment() === Environment.Development ||