Skip to content

Commit

Permalink
feat(src/components/externallinkblock/index.tsx): support Emby icon
Browse files Browse the repository at this point in the history
Display the Emby icon instead of Jellyfin when mediaserver type is Emby
  • Loading branch information
jeaboswell committed Jun 5, 2023
1 parent 53f6a89 commit 672061c
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
78 changes: 78 additions & 0 deletions src/assets/services/emby.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion src/components/ExternalLinkBlock/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import EmbyLogo from '@app/assets/services/emby.svg';
import ImdbLogo from '@app/assets/services/imdb.svg';
import JellyfinLogo from '@app/assets/services/jellyfin.svg';
import PlexLogo from '@app/assets/services/plex.svg';
Expand Down Expand Up @@ -41,8 +42,11 @@ const ExternalLinkBlock = ({
>
{settings.currentSettings.mediaServerType === MediaServerType.PLEX ? (
<PlexLogo />
) : (
) : settings.currentSettings.mediaServerType ===
MediaServerType.JELLYFIN ? (
<JellyfinLogo />
) : (
<EmbyLogo />
)}
</a>
)}
Expand Down

0 comments on commit 672061c

Please sign in to comment.