How to export multiple artboards in one riv file

Hey, I’m a pretty new Rive user. And love it so far!

I’m doing this project for an app that will have a Light and a Dark mode.

I have these two animations, which are basically the same animation, just in two different colors.

I have therefore created two artboards, named LightMode and DarkMode.

When I export these and try to see if the riv file contains both artboards, I get this message: app.rive.runtime.kotlin.core.errors.ArtboardException: Artboard "LightMode" not found. Available Artboards: ["DarkMode"]

So it looks like it only exports one of the artboards. Does anyone know why it doesn’t export both artboards into my .riv file?