Skip to content

Commit 11e634a

Browse files
bunsenstraatAniket-Engg
authored andcommitted
use OS icons
1 parent 9060aca commit 11e634a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/remix-ui/desktop-download/lib/desktop-download.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export const DesktopDownload: React.FC<DesktopDownloadProps> = ({
301301
// Allow the default link behavior
302302
}}
303303
>
304-
<i className="far fa-desktop"></i>
304+
<i className={getPlatformIcon(detectedDownload.platform)}></i>
305305
<span>
306306
<FormattedMessage
307307
id="desktopDownload.downloadSpan"
@@ -360,7 +360,7 @@ export const DesktopDownload: React.FC<DesktopDownloadProps> = ({
360360
rel="noopener noreferrer"
361361
onClick={() => trackDownloadClick(detectedDownload.platform, detectedDownload.filename, 'compact')}
362362
>
363-
<i className="far fa-desktop"></i>
363+
<i className={getPlatformIcon(detectedDownload.platform)}></i>
364364
<span>
365365
<FormattedMessage
366366
id="desktopDownload.downloadCompactFull"

0 commit comments

Comments
 (0)