diff --git a/packages/mobile/src/screens/chat-screen/ChatBlastSubHeader.tsx b/packages/mobile/src/screens/chat-screen/ChatBlastSubHeader.tsx index e8c5d759eed..9991a7f7f3e 100644 --- a/packages/mobile/src/screens/chat-screen/ChatBlastSubHeader.tsx +++ b/packages/mobile/src/screens/chat-screen/ChatBlastSubHeader.tsx @@ -2,10 +2,12 @@ import { useChatBlastAudienceContent } from '@audius/common/hooks' import { SquareSizes } from '@audius/common/models' import { decodeHashId } from '@audius/common/utils' import type { ChatBlast } from '@audius/sdk' +import { css } from '@emotion/native' import { Flex, Text } from '@audius/harmony-native' import { CollectionImageV2 } from 'app/components/image/CollectionImageV2' import { TrackImageV2 } from 'app/components/image/TrackImageV2' +import { zIndex } from 'app/utils/zIndex' export const ChatBlastSubHeader = ({ chat }: { chat: ChatBlast }) => { const { @@ -16,7 +18,13 @@ export const ChatBlastSubHeader = ({ chat }: { chat: ChatBlast }) => { useChatBlastAudienceContent({ chat }) const decodedId = decodeHashId(audienceContentId) ?? undefined return ( - + {decodedId ? ( {audienceContentType === 'track' ? ( diff --git a/packages/mobile/src/utils/zIndex.ts b/packages/mobile/src/utils/zIndex.ts index aaf385ee048..62cb85ef28d 100644 --- a/packages/mobile/src/utils/zIndex.ts +++ b/packages/mobile/src/utils/zIndex.ts @@ -1,6 +1,7 @@ /* eslint-disable @typescript-eslint/no-duplicate-enum-values */ export enum zIndex { CHAT_TAIL = -10, + CHAT_BLAST_SUBHEADER = 1, NOW_PLAYING_DRAWER = 3, DOG_EAR = 4, PLAY_BAR = 5,