File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -161,8 +161,8 @@ async function init(): Promise<void> {
161161 const routingStatus = document . getElementById ( 'routing-status' ) ! ;
162162 const routingProgress = document . getElementById ( 'routing-progress' ) ! ;
163163 const openBtn = document . getElementById ( 'open-btn' ) as HTMLButtonElement ;
164- // TODO: Share feature disabled pending design decision
165- // const shareBtn = document.getElementById('share-btn') as HTMLButtonElement;
164+ // @ts -ignore - Used conditionally in web-only block (line 1001-1002)
165+ const shareBtn = document . getElementById ( 'share-btn' ) as HTMLButtonElement ;
166166 const themeToggle = document . getElementById ( 'theme-toggle' ) as HTMLButtonElement ;
167167 const themeIcon = document . getElementById ( 'theme-icon' ) ! ;
168168 const editorToggleBtn = document . getElementById ( 'editor-toggle' ) as HTMLButtonElement ;
@@ -999,9 +999,8 @@ async function init(): Promise<void> {
999999
10001000 // Share button (web only)
10011001 if ( ! isDesktop ( ) ) {
1002- // TODO: Share feature needs design decision - share full board state or just viewport?
1003- // shareBtn.classList.remove('hidden');
1004- // shareBtn.addEventListener('click', handleShareView);
1002+ shareBtn . classList . remove ( 'hidden' ) ;
1003+ shareBtn . addEventListener ( 'click' , handleShareView ) ;
10051004 }
10061005
10071006 // Keyboard shortcuts
You can’t perform that action at this time.
0 commit comments