Rev user badges feature flag
This commit is contained in:
@@ -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'
|
||||||
|
@@ -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 ||
|
||||||
|
Reference in New Issue
Block a user