Closed maxpilotto closed 5 years ago
This appears to be an issue only with the default theme, is there a way to set the current theme outside of the picker activity?
A workaround is to set one of the themes in the file the first time the app runs.
E.g.
List<CyaneaTheme> list = CyaneaTheme.Companion.from(getAssets(), "themes/cyanea_themes.json");
list.get(0).apply(Cyanea.getInstance()).recreate(this);
I ended up making my own theme manager, which doesn't work dynamically but at least is something
Whenever I fetch programmatically the backgroundColorDark and Light they're respectively white and gray, my activity has the theme
Theme.Cyanea.Dark.NoActionBar
. The ?colorBackgroundDark and ?colorBackgroundLight seem to work fine