The hearts can change up what happens at the end of a day. Generally your characters makes bolder (and sometimes worse) decisions with higher hearts and plays it safer with fewer hearts. They don't affect the endings (at least not at this time, anyway.)