Rework the UI for the custom feed view
This commit is contained in:
parent
0f5b3808f8
commit
c55ce6de02
8 changed files with 300 additions and 177 deletions
|
@ -87,7 +87,7 @@ export const ProfileListScreen = withAuthRequired(
|
|||
return <EmptyState icon="users-slash" message="This list is empty!" />
|
||||
}, [])
|
||||
|
||||
const renderHeaderBtn = React.useCallback(() => {
|
||||
const renderHeaderBtns = React.useCallback(() => {
|
||||
return (
|
||||
<View style={styles.headerBtns}>
|
||||
{list?.isOwner && (
|
||||
|
@ -148,7 +148,7 @@ export const ProfileListScreen = withAuthRequired(
|
|||
pal.border,
|
||||
]}
|
||||
testID="moderationMutelistsScreen">
|
||||
<ViewHeader title="" renderButton={renderHeaderBtn} />
|
||||
<ViewHeader title="" renderButton={renderHeaderBtns} />
|
||||
<ListItems
|
||||
list={list}
|
||||
renderEmptyState={renderEmptyState}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue