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
fix error in progress circle
ammarahm-ed6d6f1d16a631
diff --git a/apps/mobile/src/views/Editor/ProgressCircle.js b/apps/mobile/src/views/Editor/ProgressCircle.jsindex d139ae03a..e796f4432 100644--- a/apps/mobile/src/views/Editor/ProgressCircle.js+++ b/apps/mobile/src/views/Editor/ProgressCircle.js@@ -1,10 +1,13 @@import React from 'react';import {View} from 'react-native';import * as Progress from 'react-native-progress';+import { useTracked } from '../../provider';import {useAttachmentStore} from '../../provider/stores';import {SIZE} from '../../utils/SizeUtils';export const ProgressCircle = () => {+ const [state] = useTracked();+ const {colors} = state;const loading = useAttachmentStore(state => state.loading);return loading && loading.current !== loading.total ? (