String of hearts stores water in its tubers, so the condition of the growing medium matters more than the length of its trailing stems. Check the pot before watering and introduce brighter exposure gradually.
Light should reach the top of the pot
String of hearts has trailing stems, but the crown still needs useful light. Put the container near a bright window, protected from a sudden move into intense sun. A high shelf can leave the top shaded while the hanging stems appear well placed.
Give the tubers a draining root zone
Use a small draining container with an airy succulent mix. Water when the mix has dried appropriately, letting excess leave the pot. The tubers store resources, so constant saturation is unnecessary, especially in a cool room.
Make a fuller display
Healthy stem sections with nodes can be used for propagation. Small aerial tubers also offer a propagation route. Keep the rooting points in contact with a suitable medium without burying the entire leafy stem in a wet layer.
Watch growth rather than the calendar
Long, sparse new stems suggest checking light. Soft tissue near the base calls for a root and moisture inspection. Reduce water as growth and drying slow, while keeping the plant protected from frost.

Related reading
Trailing Succulents for Hanging Pots: Shape and Growing Space