|
@@ -196,19 +196,6 @@ const AddLandmarkPanel: React.FC<AddLandmarkProps> = ({ newLandmark, setNewLandm
|
|
|
}
|
|
|
else {
|
|
|
await addLandmarkMutation.mutateAsync({ landmarkValue: newLandmark, photos: photos, newGroup: {bool: newGroupBool, sibling: siblingID} })
|
|
|
- if (newLandmark?.landmark_type == 30) {
|
|
|
- if (profile?.show_group_lm_tip) {
|
|
|
- console.log('[Profile]: User has group tips configured, showing tips.')
|
|
|
- Alert.alert(
|
|
|
- 'New landmark group added!',
|
|
|
- "Please navigate to the new group and add individual landmarks.",
|
|
|
- [{text: "Don't show this again", onPress: async () => await toggleGroupLMTip.mutateAsync()}, {text: 'Ok'}]
|
|
|
- )
|
|
|
- }
|
|
|
- else {
|
|
|
- console.log('[Profile]: User does not have group tips configured, not showing tips')
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
|