Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Add verification badge to creator channel owner
Browse files Browse the repository at this point in the history
  • Loading branch information
hirbod committed Nov 23, 2023
1 parent 22b60f5 commit a8a5624
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/app/components/creator-channels/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { Skeleton } from "@showtime-xyz/universal.skeleton";
import { Spinner } from "@showtime-xyz/universal.spinner";
import { colors } from "@showtime-xyz/universal.tailwind";
import { Text } from "@showtime-xyz/universal.text";
import { VerificationBadge } from "@showtime-xyz/universal.verification-badge";
import { View } from "@showtime-xyz/universal.view";

import { usePlatformBottomHeight } from "app/hooks/use-platform-bottom-height";
Expand Down Expand Up @@ -201,7 +202,11 @@ const CreatorChannelsListItem = memo(
>
{item.owner.name ?? item.owner.username}
</Text>

{Boolean(item?.owner?.verified) && (
<View tw="ml-1.5">
<VerificationBadge size={12} />
</View>
)}
{item.itemType === "owned" ? (
<LeanText
tw="web:max-w-[80%] web:text-base ml-3 overflow-ellipsis whitespace-nowrap text-lg font-medium text-gray-500 dark:text-slate-300"
Expand Down

0 comments on commit a8a5624

Please sign in to comment.