mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
* Refactor Tooltip into AddObsModal * Update AddObsModal.tsx * Remove unintentionally hardcoded condition * Disallow close modal while tooltip is visible While the tooltip is visible the modal should not be dismissed * Reinstate logged-in triggers * Disable tooltip for users that just signed up Because of a bug in showing the "Account creation" pivot card the trigger here is not always set to true and so the correct behaviour of showing the tooltip is currently not possible. * Remove buggy check for button press * Re-position modal * Make sure we have numbers of observations by the user We need it to make a decision on wether to show the tooltip. If we don't have it don't show it. * Show the modal when tooltip should be shown With a timeout because we have a lot of overlapping modals here. * Remove react-native-walkthrough-tooltip dependency * Add triangle under bubble * Update snapshot tests