fix: Broken dynamic color palette

This commit is contained in:
Christian Pauly 2022-05-18 12:13:59 +02:00
commit ea17a28519
12 changed files with 111 additions and 215 deletions

View file

@ -503,8 +503,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
if (value != null && int.tryParse(value) != null) {
AppConfig.colorSchemeSeed = Color(int.parse(value));
AdaptiveTheme.of(context).setTheme(
light: FluffyThemes.light,
dark: FluffyThemes.dark,
light: FluffyThemes.light(),
dark: FluffyThemes.dark(),
);
}
});