diff --git a/src/lib/assets/icons/social/IconSocialTwitch.svelte b/src/lib/assets/icons/social/IconSocialTwitch.svelte index 68e69247..97a3081a 100644 --- a/src/lib/assets/icons/social/IconSocialTwitch.svelte +++ b/src/lib/assets/icons/social/IconSocialTwitch.svelte @@ -1,36 +1,15 @@ - - - Asset 2 - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/src/lib/assets/icons/social/IconSocialYouTube.svelte b/src/lib/assets/icons/social/IconSocialYouTube.svelte index e10ca84e..d81cffb1 100644 --- a/src/lib/assets/icons/social/IconSocialYouTube.svelte +++ b/src/lib/assets/icons/social/IconSocialYouTube.svelte @@ -1,8 +1,8 @@ - - + + + d="M43.2,33.9c-0.4,2.1-2.1,3.7-4.2,4c-3.3,0.5-8.8,1.1-15,1.1c-6.1,0-11.6-0.6-15-1.1c-2.1-0.3-3.8-1.9-4.2-4C4.4,31.6,4,28.2,4,24c0-4.2,0.4-7.6,0.8-9.9c0.4-2.1,2.1-3.7,4.2-4C12.3,9.6,17.8,9,24,9c6.2,0,11.6,0.6,15,1.1c2.1,0.3,3.8,1.9,4.2,4c0.4,2.3,0.9,5.7,0.9,9.9C44,28.2,43.6,31.6,43.2,33.9z" /> + + + diff --git a/src/lib/components/Channel/Chat/Message.svelte b/src/lib/components/Channel/Chat/Message.svelte index 716d3769..e58bc909 100644 --- a/src/lib/components/Channel/Chat/Message.svelte +++ b/src/lib/components/Channel/Chat/Message.svelte @@ -10,8 +10,6 @@ import { page } from '$app/stores' import IconChatBan from '$lib/assets/icons/chat/IconChatBan.svelte' import { onMount } from 'svelte' - import IconSocialYouTube from '$lib/assets/icons/social/IconSocialYouTube.svelte' - import IconSocialTwitch from '$lib/assets/icons/social/IconSocialTwitch.svelte' export let sender: any, hostId: string, channel: any, onUsernameClick: any let role: string, coloredRole: any @@ -197,11 +195,10 @@
- {#if sender.platform === 'twitch'} -
- {/if} - {#if sender.platform === 'youtube'} -
+ {#if sender.platform} +
+ platform icon +
{/if} {#if role === '🤖 AI' || role === 'Host' || role === 'Mod' || role === 'You'} - {#if platform.name === 'Twitch'} - - {:else if platform.name === 'YouTube'} - - {/if} + platform icon {getNumberInThousands(platform.count || 0)} {/each}