There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(mobile): journal button should not show for edgeless (#8110)
pengx17d5ecf503c27f
diff --git a/packages/frontend/mobile/src/pages/workspace/detail/mobile-detail-page.tsx b/packages/frontend/mobile/src/pages/workspace/detail/mobile-detail-page.tsxindex dc50f378e4..52c4cbf43a 100644--- a/packages/frontend/mobile/src/pages/workspace/detail/mobile-detail-page.tsx+++ b/packages/frontend/mobile/src/pages/workspace/detail/mobile-detail-page.tsx@@ -185,10 +185,12 @@ const DetailPageImpl = () => {>{/* Add a key to force rerender when page changed, to avoid error boundary persisting. */}<AffineErrorBoundary key={doc.id}>- <JournalIconButton- docId={doc.id}- className={styles.journalIconButton}- />+ {mode === 'page' && (+ <JournalIconButton+ docId={doc.id}+ className={styles.journalIconButton}+ />+ )}<PageDetailEditorpageId={doc.id}onLoad={onLoad}