Rev user badges feature flag
This commit is contained in:
parent
d5ae3c94dd
commit
25cdebe15e
2 changed files with 2 additions and 2 deletions
|
@ -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 ||
|
||||||
|
|
Loading…
Reference in a new issue