Evertime i start mailspring it detects theme correctly, but when i change theme in OS mailspring first time it just blink for a second(developer tools console blink with diffrent color for a moment) with correct theme but then it comes back to wrong theme, then when i change theme in system again it changes like toggle.
Reproduce with changing theme in OS:
os theme light→dark→light→dark→light
mailspring theme light→light→dark→light →dark
I use CachyOS with KDE plasma(6.6) mailspring 1.21