Skip to content

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.

chore(core): temporarily hide editor starter-bar on mobile (#10237)

CatsJuice926b35c91f44
diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
index eb73dee114..6644d54517 100644
--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/lit-adaper.tsx
@@ -350,7 +350,9 @@ export const BlocksuiteDocEditor = forwardRef<
data-testid="page-editor-blank"
onClick={onClickBlank}
></div>
- {!readonly && <StarterBar doc={page} />}
+ {!readonly && !BUILD_CONFIG.isMobileEdition && (
+ <StarterBar doc={page} />
+ )}
{!shared && displayBiDirectionalLink ? (
<BiDirectionalLinkPanel />
) : null}