Make backup import UI part of install
This commit is contained in:
parent
6bd9502f5c
commit
ee0090bb84
26 changed files with 829 additions and 596 deletions
|
@ -5,6 +5,7 @@ import type { ReactElement } from 'react';
|
|||
import React, { useRef } from 'react';
|
||||
|
||||
import type { LocalizerType } from '../../types/Util';
|
||||
import { MAX_DEVICE_NAME_LENGTH } from '../../types/InstallScreen';
|
||||
import { normalizeDeviceName } from '../../util/normalizeDeviceName';
|
||||
import { getEnvironment, Environment } from '../../environment';
|
||||
|
||||
|
@ -12,11 +13,6 @@ import { Button, ButtonVariant } from '../Button';
|
|||
import { TitlebarDragArea } from '../TitlebarDragArea';
|
||||
import { InstallScreenSignalLogo } from './InstallScreenSignalLogo';
|
||||
|
||||
// This is the string's `.length`, which is the number of UTF-16 code points. Instead, we
|
||||
// want this to be either 50 graphemes or 256 encrypted bytes, whichever is smaller. See
|
||||
// DESKTOP-2844.
|
||||
export const MAX_DEVICE_NAME_LENGTH = 50;
|
||||
|
||||
export type PropsType = {
|
||||
deviceName: string;
|
||||
i18n: LocalizerType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue