Spotify Flatpak on GNOME light title bar

I noticed that the Spotify flatpak appears to be using the “light” title bar appearance again. This happened in the past, if I recall correctly. It looks like it’s happening again for me. Has anyone else noticed this? Is this a Flatpak issue or a GNOME issue?

Screenshot from 2022-12-02 11-51-47

Spotify - Online music streaming service

          ID: com.spotify.Client
         Ref: app/com.spotify.Client/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.1.84.716.gc5f8b819
     License: LicenseRef-proprietary=https://www.spotify.com/us/legal/end-user-agreement/
      Origin: flathub
  Collection: org.flathub.Stable
Installation: user
   Installed: 7.3 MB
     Runtime: org.freedesktop.Platform/x86_64/22.08
         Sdk: org.freedesktop.Sdk/x86_64/22.08

      Commit: 33a8119a0b42716946ae2bb0ac43c8e34e4522b8623b9dc818bbd6576ac88194
      Parent: 0af7bc44b8d35c85568367a8f19b7930ab112f6afc4caf959cc27e5362cc1007
     Subject: com.spotify.Client: Switch back to `dasJ/spotifywm` (b087fd38)

Have a look in gnome-tweaks > appearance > legacy applications if not already change it to dark theme.

I don’t want to apply the dark-theme to all my GTK3 applications. I use the light theme during the day and the dark mode at night. I thought the Spotify flatpak used to always prefer the dark style, even when the overall desktop theme is light. But now that seems to no longer be the case.