feat: Regulate when thumbnails are animated as per MSC2705

This commit is contained in:
Sorunome 2020-12-29 10:43:32 +01:00
commit 62ab031d13
6 changed files with 14 additions and 8 deletions

View file

@ -60,6 +60,7 @@ class HtmlMessage extends StatelessWidget {
width: (width ?? 800) * ratio,
height: (height ?? 800) * ratio,
method: ThumbnailMethod.scale,
animated: true,
);
},
setCodeLanguage: (String key, String value) async {