U2 8084 then BT 654 at Gatwick
Palma de Mallorca → London → Riga
Timetable, London time
18:10U2 8084 from Palma de Mallorca at the gate
17:45BT 654 to Riga leaves the gate
23 h 35 apart on the timetable, overnight
BT 654 leaves 23 h 35 after U2 8084 arrives on the timetable: more than half a day, so not a connection we count.