diff --git a/src/view/com/lists/ListCard.tsx b/src/view/com/lists/ListCard.tsx
index 587885502b..cd7bd451d4 100644
--- a/src/view/com/lists/ListCard.tsx
+++ b/src/view/com/lists/ListCard.tsx
@@ -33,6 +33,11 @@ export const ListCard = ({
const pal = usePalette('default')
const {currentAccount} = useSession()
+ const isOwner = currentAccount?.did === list.creator.did
+ const isListHidden = list.labels?.findIndex(l => l.val === '!hide') !== -1
+ const isModList = list.purpose === 'app.bsky.graph.defs#modlist'
+ const creatorHandle = sanitizeHandle(list.creator.handle, '@')
+
const rkey = React.useMemo(() => {
try {
const urip = new AtUri(list.uri)
@@ -79,22 +84,17 @@ export const ListCard = ({
{sanitizeDisplayName(list.name)}
- {list.purpose === 'app.bsky.graph.defs#curatelist' &&
- (list.creator.did === currentAccount?.did ? (
- User list by you
- ) : (
-
- User list by {sanitizeHandle(list.creator.handle, '@')}
-
- ))}
- {list.purpose === 'app.bsky.graph.defs#modlist' &&
- (list.creator.did === currentAccount?.did ? (
+ {isOwner ? (
+ isModList ? (
Moderation list by you
) : (
-
- Moderation list by {sanitizeHandle(list.creator.handle, '@')}
-
- ))}
+ User list by you
+ )
+ ) : isModList ? (
+ Moderation list by {creatorHandle}
+ ) : (
+ User list by {creatorHandle}
+ )}
{list.viewer?.muted ? (