[APP-601] Add muted accounts list (#565)
* Add muted accounts list * Fix icon for muted accounts
This commit is contained in:
parent
2eb0d8c095
commit
883700e090
10 changed files with 308 additions and 1 deletions
|
@ -60,7 +60,8 @@ export const ProfileCard = observer(
|
|||
]}
|
||||
href={`/profile/${profile.handle}`}
|
||||
title={profile.handle}
|
||||
asAnchor>
|
||||
asAnchor
|
||||
anchorNoUnderline>
|
||||
<View style={styles.layout}>
|
||||
<View style={styles.layoutAvi}>
|
||||
<UserAvatar
|
||||
|
|
|
@ -37,6 +37,7 @@ interface Props extends ComponentProps<typeof TouchableOpacity> {
|
|||
children?: React.ReactNode
|
||||
noFeedback?: boolean
|
||||
asAnchor?: boolean
|
||||
anchorNoUnderline?: boolean
|
||||
}
|
||||
|
||||
export const Link = observer(function Link({
|
||||
|
@ -48,6 +49,7 @@ export const Link = observer(function Link({
|
|||
noFeedback,
|
||||
asAnchor,
|
||||
accessible,
|
||||
anchorNoUnderline,
|
||||
...props
|
||||
}: Props) {
|
||||
const store = useStores()
|
||||
|
@ -78,6 +80,14 @@ export const Link = observer(function Link({
|
|||
</TouchableWithoutFeedback>
|
||||
)
|
||||
}
|
||||
|
||||
if (anchorNoUnderline) {
|
||||
// @ts-ignore web only -prf
|
||||
props.dataSet = props.dataSet || {}
|
||||
// @ts-ignore web only -prf
|
||||
props.dataSet.noUnderline = 1
|
||||
}
|
||||
|
||||
return (
|
||||
<TouchableOpacity
|
||||
testID={testID}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue