💄 Hide Add to List option on own profile (#1068)
parent
49356700c3
commit
8e9b8b6b36
|
@ -261,14 +261,15 @@ const ProfileHeaderLoaded = observer(
|
||||||
label: 'Share',
|
label: 'Share',
|
||||||
onPress: onPressShare,
|
onPress: onPressShare,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
testID: 'profileHeaderDropdownListAddRemoveBtn',
|
|
||||||
label: 'Add to Lists',
|
|
||||||
onPress: onPressAddRemoveLists,
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
if (!isMe) {
|
if (!isMe) {
|
||||||
items.push({sep: true})
|
items.push({sep: true})
|
||||||
|
// Only add "Add to Lists" on other user's profiles, doesn't make sense to mute my own self!
|
||||||
|
items.push({
|
||||||
|
testID: 'profileHeaderDropdownListAddRemoveBtn',
|
||||||
|
label: 'Add to Lists',
|
||||||
|
onPress: onPressAddRemoveLists,
|
||||||
|
})
|
||||||
if (!view.viewer.blocking) {
|
if (!view.viewer.blocking) {
|
||||||
items.push({
|
items.push({
|
||||||
testID: 'profileHeaderDropdownMuteBtn',
|
testID: 'profileHeaderDropdownMuteBtn',
|
||||||
|
|
Loading…
Reference in New Issue