diff --git a/assets/default_themes/light.zip b/assets/default_themes/light.zip index c9579152d..7a88cd3d9 100644 Binary files a/assets/default_themes/light.zip and b/assets/default_themes/light.zip differ diff --git a/lib/themes/theme_service.dart b/lib/themes/theme_service.dart index e130daba8..1d1154d5f 100644 --- a/lib/themes/theme_service.dart +++ b/lib/themes/theme_service.dart @@ -40,9 +40,7 @@ class ThemeService { throw Exception("Invalid theme archive: Missing theme.json"); } - final OutputStream os = OutputStream(); - themeJsonFiles.first.decompress(os); - final String jsonString = utf8.decode(os.getBytes()); + final jsonString = utf8.decode(themeJsonFiles.first.content as List); final json = jsonDecode(jsonString) as Map; final theme = StackTheme.fromJson(