diff --git a/native/profile/relationship-list.react.js b/native/profile/relationship-list.react.js --- a/native/profile/relationship-list.react.js +++ b/native/profile/relationship-list.react.js @@ -295,6 +295,7 @@ const { setOptions } = navigation; const prevNoCurrentTags = React.useRef(noCurrentTags); + const prevOnPressAdd = React.useRef(onPressAdd); const loadingStatus = useSelector(loadingStatusSelector); React.useEffect(() => { let setSaveButtonDisabled; @@ -304,9 +305,14 @@ setSaveButtonDisabled = false; } prevNoCurrentTags.current = noCurrentTags; - if (setSaveButtonDisabled === undefined) { + if ( + setSaveButtonDisabled === undefined && + prevOnPressAdd.current === onPressAdd + ) { return; } + prevOnPressAdd.current = onPressAdd; + setOptions({ headerRight: () => (