5 lines
299 B
TypeScript
5 lines
299 B
TypeScript
// Metro module 15193 (f15194).
|
|
export default function showChannelBadge({ mentionsCount, isNewChannel, postsWithUnreadsCount, muted }) {
|
|
return mentionsCount != null && mentionsCount > 0 || isNewChannel || muted != null && !muted && postsWithUnreadsCount != null && postsWithUnreadsCount > 0;
|
|
};
|