Icon visibility not working (working only in editor)

Hi there does anyone know why when i disable the visibility of the heart icon it only works in the editor and not when tested in the app?
i think it might be a bug