mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

share mute list link with did not handle (#1438)

authored by

Ansh and committed by
GitHub
9c72fcc9 4977a5d2

+6 -2
+4
src/state/models/content/list.ts
··· 103 103 return this.list?.viewer?.muted 104 104 } 105 105 106 + get creatorDid() { 107 + return this.list?.creator.did 108 + } 109 + 106 110 // public api 107 111 // = 108 112
+2 -2
src/view/screens/ProfileList.tsx
··· 97 97 }, [store, list]) 98 98 99 99 const onPressShareList = React.useCallback(() => { 100 - const url = toShareUrl(`/profile/${name}/lists/${rkey}`) 100 + const url = toShareUrl(`/profile/${list.creatorDid}/lists/${rkey}`) 101 101 shareUrl(url) 102 - }, [name, rkey]) 102 + }, [list.creatorDid, rkey]) 103 103 104 104 const renderEmptyState = React.useCallback(() => { 105 105 return <EmptyState icon="users-slash" message="This list is empty!" />