diff --git a/ts/components/Inbox.tsx b/ts/components/Inbox.tsx index 7c71801d5..558be808a 100644 --- a/ts/components/Inbox.tsx +++ b/ts/components/Inbox.tsx @@ -15,6 +15,7 @@ import { showToast } from '../util/showToast'; import { strictAssert } from '../util/assert'; import { TargetedMessageSource } from '../state/ducks/conversationsEnums'; import { usePrevious } from '../hooks/usePrevious'; +import { Environment, getEnvironment } from '../environment'; export type PropsType = { firstEnvelopeTimestamp: number | undefined; @@ -280,7 +281,11 @@ export function Inbox({
{renderMiniPlayer({ shouldFlow: false })}
-

{i18n('icu:welcomeToSignal')}

+

+ {getEnvironment() !== Environment.Staging + ? i18n('icu:welcomeToSignal') + : 'THIS IS A STAGING DESKTOP'} +

- - {i18n('icu:Install__support-link')} - + {getEnvironment() !== Environment.Staging ? ( + + {i18n('icu:Install__support-link')} + + ) : ( + 'THIS IS A STAGING DESKTOP' + )}