diff --git a/src/renderer/features/lyrics/lyrics-actions.tsx b/src/renderer/features/lyrics/lyrics-actions.tsx index cc6cccfe..b914d3e7 100644 --- a/src/renderer/features/lyrics/lyrics-actions.tsx +++ b/src/renderer/features/lyrics/lyrics-actions.tsx @@ -1,3 +1,4 @@ +import isElectron from 'is-electron'; import { RiAddFill, RiSubtractFill } from 'react-icons/ri'; import { LyricsOverride } from '/@/renderer/api/types'; import { Button, NumberInput } from '/@/renderer/components'; @@ -29,23 +30,26 @@ export const LyricsActions = ({ onRemoveLyric, onSearchOverride }: LyricsActions }; const isActionsDisabled = !currentSong; + const isDesktop = isElectron(); return ( <> - + {isDesktop ? ( + + ) : null} - + {isDesktop ? ( + + ) : null} ); };