FR 819 then FR 152 at Dublin
Edinburgh → Dublin → Leeds
Timetable, Dublin time
09:00FR 819 from Edinburgh at the gate
07:25FR 152 to Leeds leaves the gate
22 h 25 apart on the timetable, overnight
FR 152 leaves 22 h 25 after FR 819 arrives on the timetable: more than half a day, so not a connection we count.