Rev user badges feature flag
This commit is contained in:
@@ -24,7 +24,7 @@ export type ConfigKeyType =
|
||||
| 'desktop.senderKey.send'
|
||||
| 'desktop.senderKey.retry'
|
||||
| 'desktop.sendSenderKey3'
|
||||
| 'desktop.showUserBadges'
|
||||
| 'desktop.showUserBadges2'
|
||||
| 'desktop.showUserBadges.beta'
|
||||
| 'desktop.storage'
|
||||
| 'desktop.storageWrite3'
|
||||
|
@@ -7,7 +7,7 @@ import { isBeta } from '../util/version';
|
||||
|
||||
export function shouldShowBadges(): boolean {
|
||||
if (
|
||||
isEnabled('desktop.showUserBadges') ||
|
||||
isEnabled('desktop.showUserBadges2') ||
|
||||
isEnabled('desktop.internalUser') ||
|
||||
getEnvironment() === Environment.Staging ||
|
||||
getEnvironment() === Environment.Development ||
|
||||
|
Reference in New Issue
Block a user