Skip to content

Commit

Permalink
Fix missing localized strings in iOS and Android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtcode committed Sep 3, 2024
1 parent d090b0e commit e00c5c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class EditorInstance {
window._currentEditorInstance = this;
this.instanceID = options.instanceID;
this._readOnly = options.readOnly;
this._localizedStrings = options.localizedStrings;
this._localizedStrings = strings;
this._editorCore = null;
this._reactRoot = null;
window.localizedStrings = options.localizedStrings;
window.localizedStrings = strings;

this._init(options.value);
}
Expand Down
4 changes: 2 additions & 2 deletions src/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class EditorInstance {
window._currentEditorInstance = this;
this.instanceID = options.instanceID;
this._readOnly = options.readOnly;
this._localizedStrings = options.localizedStrings;
this._localizedStrings = strings;
this._editorCore = null;
this._reactRoot = null;
window.localizedStrings = options.localizedStrings;
window.localizedStrings = strings;

this._init(options.value);
}
Expand Down

0 comments on commit e00c5c4

Please sign in to comment.