Can a Dragonborn draconic bloodline sorceror have 2 resistances?

My player has rolled up a Dragonborn draconic sorceror, they have decided to be a silver Dragonborn (cold breath and resistance) and take the gold dragon ancestry. This means they now have resistance to both fire and cold, but elemental affinity will affect only fire based magic am I understanding that correctly?