feat(mobile): add share button (#8109)

This commit is contained in:
pengx17
2024-09-05 09:16:25 +00:00
parent 691bfed185
commit 2a2a969394
5 changed files with 59 additions and 22 deletions

View File

@@ -270,9 +270,11 @@ export const AFFiNESharePage = (props: ShareMenuProps) => {
<span className={styles.copyLinkLabelStyle}>
{t['com.affine.share-menu.copy']()}
</span>
<span className={styles.copyLinkShortcutStyle}>
{isMac ? '⌘ + ⌥ + C' : 'Ctrl + Shift + C'}
</span>
{!environment.isMobile && (
<span className={styles.copyLinkShortcutStyle}>
{isMac ? '⌘ + ⌥ + C' : 'Ctrl + Shift + C'}
</span>
)}
</Button>
<Menu
contentOptions={{