Geary stuck in dark mode

I’ve tried removing and reinstalling several times and geary is stuck in dark mode. Im running Ubuntu 22.04.

Ive also tried changing the theme in the desktop settings. Any help would be appreciated.