Skip to content

Commit

Permalink
hide "try in makecode" on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jul 19, 2024
1 parent be72756 commit 95239a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pxt-jacdac
3 changes: 3 additions & 0 deletions src/components/makecode/MakeCodeOpenSnippetButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ export default function MakeCodeOpenSnippetButton(props: {
}
}

if (mobile) // mobile blocks all popups
return undefined

return !full && mobile ? (
<IconButtonWithTooltip
sx={sx}
Expand Down

0 comments on commit 95239a8

Please sign in to comment.