A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
do not show undefined value
ammarahm-ed88b5fc1115f8
diff --git a/apps/mobile/src/components/Github/issue.js b/apps/mobile/src/components/Github/issue.jsindex 0e66d3f52..573644466 100644--- a/apps/mobile/src/components/Github/issue.js+++ b/apps/mobile/src/components/Github/issue.js@@ -16,6 +16,7 @@ import DialogHeader from '../Dialog/dialog-header';import { presentDialog } from '../Dialog/functions';import Seperator from '../Seperator';import Paragraph from '../Typography/Paragraph';+import deviceInfoModule from 'react-native-device-info';export const Issue = () => {const [state, dispatch] = useTracked();@@ -30,6 +31,7 @@ export const Issue = () => {if (!title.current || !body.current) return;if (title.current?.trim() === '' || body.current?.trim().length === 0)return;+try {setLoading(true);@@ -41,8 +43,8 @@ export const Issue = () => {**Device information:**App version: ${APP_VERSION}Platform: ${Platform.OS}-Model: ${Platform.constants.Brand}-${Platform.constants.Model}-${- Platform.constants.Version+Model: ${Platform.constants.Brand || ""}-${Platform.constants.Model|| ""}-${+ Platform.constants.Version || ""}Pro: ${PremiumService.get()}Logged in: ${user ? 'yes' : 'no'}`,