FR 1977 then EI 778 at Dublin
Riga → Dublin → Lanzarote
Timetable, Dublin time
20:35FR 1977 from Riga at the gate
12:55EI 778 to Lanzarote leaves the gate
16 h 20 apart on the timetable, overnight
EI 778 leaves 16 h 20 after FR 1977 arrives on the timetable: more than half a day, so not a connection we count.