Open heavy flavour production in heavy—ion collisions with ALICE