Export to pdf, dark theme not applied immidiately

Steps to reproduce

  1. Open Sandbox Vault
  2. Set to dark theme if not already activated
  3. Export to PDF

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The Preparing PDF page should match the dark theme as the rest of the UI

Actual result

White screen that flashes in my face :frowning:

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.5.12
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Video Demonstration

thanks