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
hide header button if logged in
ammarahm-edefa187e0a492
diff --git a/apps/mobile/src/components/SimpleList/index.js b/apps/mobile/src/components/SimpleList/index.jsindex 19301670c..aceb41d70 100644--- a/apps/mobile/src/components/SimpleList/index.js+++ b/apps/mobile/src/components/SimpleList/index.js@@ -221,7 +221,7 @@ const SimpleList = ({height: 40,borderRadius: 0,position: 'relative',- }}>+ }}><Viewstyle={{width: 25,@@ -286,12 +286,10 @@ const SimpleList = ({</View>);- const _listKeyExtractor = (item, index) =>- item.type === 'header' ? item.title : item.id.toString() + index.toString();const _layoutProvider = new LayoutProvider((index) => {- console.log(dataProvider.getDataForIndex(index).type, 'TYPE');+return dataProvider.getDataForIndex(index).type;},(type, dim) => {@@ -318,7 +316,7 @@ const SimpleList = ({break;case 'MAIN_HEADER':dim.width = width;- dim.height = 40;+ dim.height =user || !data[0] || selectionMode ? 0: 40;break;default:dim.width = width;