In a library file our team set up collections of variables and created two modes, one for Desktop and one for Mobile. We then decided that we wanted Mobile to be the default mode. As a workaround to make Mobile the default mode, we renamed the modes, swapping their names (so, Desktop → Mobile, and Mobile → Desktop). We then swapped all the variable values so they were under the correct mode.
The problem is that now any pages or frames that were set to a specific variable mode before we renamed and swapped the modes still show the old naming even though they now have the correct styles based on what is supposed to be the default mode (Mobile). So, if I chose Mobile for the variable mode for a page or frame before the swap, it now reads Desktop when the styles are correct for Mobile. Also, new pages or frames created do not have this issue, so I can have two frames right next to each other, one that says “Auto (Mobile)” and one that says “Auto (Desktop)” and they both look correct.This same issue applies to pages, frames, and any other elements that modes can be chosen for.
Is there a way to reset the references to variable modes or another way to solve this issue?