That's really cool, Susan. You must have pruned it at just the right moment. I hope it made lots more leaves, too though.
Btw, the fruit itself doesn't need to be in the light. It will ripen and develop sugar even in the full shade of the leaves. It's the leaves that collect the sunlight, make the sugar for the fruit, and supply all the energy for the plant to do its thing. So the more big, green, healthy leaves the plant has, the more sugar the fruit will have.
Photosynthesis: 6 CO2 + 6 H2O + Photons -> C6H12O6 + 6O2 (carbon dioxide + water + sunlight gives sugar and oxygen) That's what plants do. Leaves collect the CO2 and sunlight, roots and leaves collect water, we (and the plant) eat the sugar and breathe the oxygen, thank goodness. The fruit is the plant's way of reproducing itself but it doesn't do any of the work.
It's also a fallacy that store-bought fruit will get 'sweeter' if you ripen it in the sun on a windowsill. The amount of sugar in a fruit when it is picked is all you're going to get. The color will change, and the flavor may change too as the fruit ripens, but no more sugar will develop. It takes leaves to do that. Leaving it in the sun may dry out the fruit somewhat, which will intensify the flavor a bit. But fruit will ripen as well in the shade, (but much slower in the fridge). Some fruit will ripen faster if you put it in a paper bag with a piece of ripe fruit like an apple or banana that gives off ethylene.