Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: github release check always returns true

ammarahm-ed4aa8e7e8d627
diff --git a/apps/mobile/src/components/sheets/update/index.js b/apps/mobile/src/components/sheets/update/index.js
index 70f66e494..a5de56def 100644
--- a/apps/mobile/src/components/sheets/update/index.js
+++ b/apps/mobile/src/components/sheets/update/index.js
@@ -21,7 +21,7 @@ export const Update = ({ version, fwdRef }) => {
? version.notes.replace('Thank you for using Notesnook!', '').split('- ')
: ['Bug fixes and performance improvements'];
notes = notes.map(n => n.replace(/\n/g, ''));
- const isGithubRelease = Config.GITHUB_RELEASE;
+ const isGithubRelease = Config.GITHUB_RELEASE === 'true';
const getSupportedAbi = () => {
let abi = deviceInfoModule.supportedAbisSync();