When the Surattense Nightshade does not get adequate sunlight, or they are not placed in full sun locations, it's worth noting that the photosynthetic process will slow down. A lack of sunlight will cause the stems to become more leggy since they become thin and long since they tend to seek too much sunlight. They will not bloom and produce seeds in the shade.
Inadequate sunlight will also mean that the older leaves can die, the color of the new ones is lighter than the old foliage, and the new growth is smaller than the last ones.
The Surattense Nightshade indeed loves the sun so much. However, they can wilt when exposed to excessive heat and ultraviolet light during the extreme summer months, so be careful. You might want to cover them with a net that has a green shade, especially in the summer, to prevent the leaves and the flowers from scorching. When they are indoors, reduce the heat with the help of a fan.