disable menu for self

This commit is contained in:
Samuel Newman
2025-12-01 13:37:31 +02:00
parent 094ad9acbc
commit f3140dbccf
+11 -9
View File
@@ -329,15 +329,17 @@ let ProfileMenu = ({
)} )}
</> </>
)} )}
<Menu.Item {!isSelf && (
testID="profileHeaderDropdownStarterPackAddRemoveBtn" <Menu.Item
label={_(msg`Add to starter packs`)} testID="profileHeaderDropdownStarterPackAddRemoveBtn"
onPress={onPressAddToStarterPacks}> label={_(msg`Add to starter packs`)}
<Menu.ItemText> onPress={onPressAddToStarterPacks}>
<Trans>Add to starter packs</Trans> <Menu.ItemText>
</Menu.ItemText> <Trans>Add to starter packs</Trans>
<Menu.ItemIcon icon={StarterPack} /> </Menu.ItemText>
</Menu.Item> <Menu.ItemIcon icon={StarterPack} />
</Menu.Item>
)}
<Menu.Item <Menu.Item
testID="profileHeaderDropdownListAddRemoveBtn" testID="profileHeaderDropdownListAddRemoveBtn"
label={_(msg`Add to lists`)} label={_(msg`Add to lists`)}