diff --git a/lib/themes/theme_service.dart b/lib/themes/theme_service.dart index 343056225..cbdecfe56 100644 --- a/lib/themes/theme_service.dart +++ b/lib/themes/theme_service.dart @@ -178,11 +178,13 @@ class StackThemeMetaData { final String name; final String id; final String sha256; + final String previewImageUrl; StackThemeMetaData({ required this.name, required this.id, required this.sha256, + required this.previewImageUrl, }); static StackThemeMetaData fromMap(Map map) { @@ -191,6 +193,7 @@ class StackThemeMetaData { name: map["name"] as String, id: map["id"] as String, sha256: map["sha256"] as String, + previewImageUrl: map["previewImageUrl"] as String, ); } catch (e, s) { Logging.instance.log( @@ -203,6 +206,11 @@ class StackThemeMetaData { @override String toString() { - return "$runtimeType(name: $name, id: $id, sha256: $sha256)"; + return "$runtimeType(" + "name: $name, " + "id: $id, " + "sha256: $sha256, " + "previewImageUrl: $previewImageUrl" + ")"; } }