Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 995bf59

Browse files
committed
Merge branch 'release/3.9.6'
2 parents 0e3a799 + d5a8a2e commit 995bf59

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "standardnotes-mobile",
3-
"version": "3.9.5",
4-
"user-version": "3.9.5",
3+
"version": "3.9.6",
4+
"user-version": "3.9.6",
55
"private": true,
66
"license": "AGPL-3.0-or-later",
77
"scripts": {
@@ -27,7 +27,7 @@
2727
"@react-navigation/native": "^5.9.3",
2828
"@react-navigation/stack": "^5.14.3",
2929
"@standardnotes/sncrypto-common": "1.5.2",
30-
"@standardnotes/snjs": "2.20.1",
30+
"@standardnotes/snjs": "2.20.3",
3131
"js-base64": "^3.5.2",
3232
"moment": "^2.29.1",
3333
"react": "17.0.1",
@@ -55,7 +55,7 @@
5555
"react-native-url-polyfill": "^1.3.0",
5656
"react-native-vector-icons": "^7.1.0",
5757
"react-native-version-info": "^1.1.0",
58-
"react-native-webview": "^11.0.3",
58+
"react-native-webview": "11.0.3",
5959
"react-navigation-header-buttons": "^6.0.2",
6060
"sn-textview": "standardnotes/sn-textview#14cd6fded5c746569a9c6c365d2edc41913811bb",
6161
"standard-notes-rn": "standardnotes/standard-notes-rn#d8e5c21b049dd4b97006688617736efbdb7dc4e7",

src/lib/keychain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class Keychain {
2121
return RCTKeychain.getGenericPassword()
2222
.then(function (credentials) {
2323
if (!credentials || !credentials.password) {
24-
console.log('===Keychain value missing===');
24+
console.log('Keychain value empty');
2525
return null;
2626
} else {
2727
const keys = JSON.parse(credentials.password);

src/screens/Compose/ComponentView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,13 @@ export const ComponentView = ({
157157

158158
// deinit
159159
return () => {
160+
application?.componentManager.onComponentIframeDestroyed(componentUuid);
160161
application?.componentGroup.deactivateComponentForArea(
161162
ComponentArea.Editor
162163
);
163164
liveComponent?.deinit();
164165
};
165-
}, [application, liveComponent]);
166+
}, [application, liveComponent, componentUuid]);
166167

167168
const onMessage = (event: WebViewMessageEvent) => {
168169
let data;

src/screens/Compose/Compose.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ export class Compose extends React.Component<{}, State> {
325325
}
326326
} else if (associatedEditor.uuid !== this.state.editorComponent?.uuid) {
327327
await this.context?.componentGroup.activateComponent(associatedEditor);
328+
} else {
329+
this.context?.componentManager!.contextItemDidChangeInArea(
330+
ComponentArea.Editor
331+
);
328332
}
329-
330-
this.context?.componentManager!.contextItemDidChangeInArea(
331-
ComponentArea.Editor
332-
);
333333
};
334334

335335
saveNote = async (

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,10 +1662,10 @@
16621662
resolved "https://registry.yarnpkg.com/@standardnotes/sncrypto-common/-/sncrypto-common-1.5.2.tgz#be9404689d94f953c68302609a4f76751eaa82cd"
16631663
integrity sha512-+OQ6gajTcVSHruw33T52MHyBDKL1vRCfQBXQn4tt4+bCfBAe+PFLkEQMHp35bg5twCfg9+wUf2KhmNNSNyBBZw==
16641664

1665-
"@standardnotes/[email protected].1":
1666-
version "2.20.1"
1667-
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.20.1.tgz#4813adbfd16a1c373357bd4c7ece3085abf142b4"
1668-
integrity sha512-wJILt7YerLFaZTKoIZaCkqSuvpVWoVKqCVjP0KNHrMknnbgMHZygHqrb9sr57JL1AcNCkAULEFS/kev2GYTG3Q==
1665+
"@standardnotes/[email protected].3":
1666+
version "2.20.3"
1667+
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.20.3.tgz#11fe962dfb017be459e856b9fbc6311c5046a0b0"
1668+
integrity sha512-FHog3p3SuMvTXsEl76UenbjY8PS6VL/b6MjaC9whJR5ZwsvmLwE0G16dWZ+z+izm+CsRaHMWU8R2cy7RG7HjZg==
16691669
dependencies:
16701670
"@standardnotes/auth" "^3.8.1"
16711671
"@standardnotes/common" "^1.2.1"
@@ -6980,7 +6980,7 @@ react-native-version-info@^1.1.0:
69806980
resolved "https://registry.yarnpkg.com/react-native-version-info/-/react-native-version-info-1.1.0.tgz#1407de863cae4dbbeeadb9c173a295a7774b6884"
69816981
integrity sha512-0QmJjdKyaW+G/TiOWkwzGVv1G3FPnWrPH5SYWloUpv8WA7onuQESYHdLyjfCUInYI/FHVeEynE2VomOOsda8wQ==
69826982

6983-
react-native-webview@^11.0.3:
6983+
69846984
version "11.0.3"
69856985
resolved "https://registry.yarnpkg.com/react-native-webview/-/react-native-webview-11.0.3.tgz#7235ee46d3df30443734bd5e5ba3c28588413e83"
69866986
integrity sha512-or0MP5JthBGXX1/MNePdR7NC0LJXtr1F0yb0wrvEZ0iqSl1xh4yJ4s225qpkPdq3m8bDWMUpM0FGKad26rddOg==

0 commit comments

Comments
 (0)