mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
styleguide: Make filesize and Signal.Util.GoogleChrome available
This commit is contained in:
parent
73a0032b75
commit
ccf14710a3
1 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,8 @@ import localeMessages from '../../_locales/en/messages.json';
|
|||
|
||||
// @ts-ignore
|
||||
import { setup } from '../../js/modules/i18n';
|
||||
import * as Util from '../util';
|
||||
import filesize from 'filesize';
|
||||
|
||||
const i18n = setup(locale, localeMessages);
|
||||
|
||||
|
@ -137,6 +139,8 @@ parent.Signal.Types.MIME = MIME;
|
|||
parent.Signal.Components = {
|
||||
Quote,
|
||||
};
|
||||
parent.Signal.Util = Util;
|
||||
parent.filesize = filesize;
|
||||
|
||||
parent.ConversationController._initialFetchComplete = true;
|
||||
parent.ConversationController._initialPromise = Promise.resolve();
|
||||
|
|
Loading…
Reference in a new issue