Include a (non-localized) message on startup screens in staging

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Jordan Rose 2023-07-28 11:59:55 -07:00 committed by GitHub
parent 48e210c9b2
commit f8beea915d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View file

@ -18,6 +18,7 @@ import { InstallScreenSignalLogo } from './InstallScreenSignalLogo';
import { InstallScreenUpdateDialog } from './InstallScreenUpdateDialog';
import { getClassNamesFor } from '../../util/getClassNamesFor';
import type { UpdatesStateType } from '../../state/ducks/updates';
import { Environment, getEnvironment } from '../../environment';
// We can't always use destructuring assignment because of the complexity of this props
// type.
@ -103,9 +104,13 @@ export function InstallScreenQrCodeNotScannedStep({
/>
</li>
</ol>
<a href="https://support.signal.org/hc/articles/360007320451#desktop_multiple_device">
{i18n('icu:Install__support-link')}
</a>
{getEnvironment() !== Environment.Staging ? (
<a href="https://support.signal.org/hc/articles/360007320451#desktop_multiple_device">
{i18n('icu:Install__support-link')}
</a>
) : (
'THIS IS A STAGING DESKTOP'
)}
</div>
</div>
</div>