@@ -146,6 +146,7 @@
+
diff --git a/js/modules/signal.js b/js/modules/signal.js
index c7ddabfa3..c19b826a0 100644
--- a/js/modules/signal.js
+++ b/js/modules/signal.js
@@ -13,6 +13,7 @@ const { Message } = require('../../ts/components/conversation/Message');
// Components
const { EditProfileDialog } = require('../../ts/components/EditProfileDialog');
+const { OnionStatusDialog } = require('../../ts/components/OnionStatusDialog');
const { UserDetailsDialog } = require('../../ts/components/UserDetailsDialog');
const { SessionSeedModal } = require('../../ts/components/session/SessionSeedModal');
const { SessionNicknameDialog } = require('../../ts/components/session/SessionNicknameDialog');
@@ -141,6 +142,7 @@ exports.setup = (options = {}) => {
const Components = {
EditProfileDialog,
+ OnionStatusDialog,
UserDetailsDialog,
SessionInboxView,
UpdateGroupNameDialog,
diff --git a/js/views/onion_status_dialog_view.js b/js/views/onion_status_dialog_view.js
index 893f687e9..057715b4d 100644
--- a/js/views/onion_status_dialog_view.js
+++ b/js/views/onion_status_dialog_view.js
@@ -6,7 +6,7 @@
window.Whisper = window.Whisper || {};
- Whisper.EditProfileDialogView = Whisper.View.extend({
+ Whisper.OnionStatusDialogView = Whisper.View.extend({
className: 'loki-dialog modal',
initialize({ theme }) {
this.close = this.close.bind(this);
diff --git a/test/index.html b/test/index.html
index dc6fc9b8a..2e7bdeebb 100644
--- a/test/index.html
+++ b/test/index.html
@@ -137,7 +137,7 @@
{{#isError}}
-
+
@@ -190,6 +190,7 @@
+
diff --git a/ts/components/OnionStatusDialog.tsx b/ts/components/OnionStatusDialog.tsx
index 69f9967a5..3684e86d8 100644
--- a/ts/components/OnionStatusDialog.tsx
+++ b/ts/components/OnionStatusDialog.tsx
@@ -24,7 +24,6 @@ interface State {
}
interface Props {
- i18n: any;
theme: DefaultTheme;
nodes?: Array
;
onClose: any;
@@ -33,17 +32,17 @@ interface Props {
export const OnionStatusDialog = (props: Props) => {
- const {i18n, theme, onClose} = props.i18n;
+ const { theme, onClose} = props;
return (
- {i18n('onionPathIndicatorDescription')}
+ {window.i18n('onionPathIndicatorDescription')}
);