feat: Add option to not autoplay stickers and emotes

This commit is contained in:
Sorunome 2021-08-07 19:36:42 +02:00
commit 41a9d0a2b0
11 changed files with 125 additions and 33 deletions

View file

@ -414,6 +414,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
.getItemBool(
SettingKeys.hideUnknownEvents, AppConfig.hideUnknownEvents)
.then((value) => AppConfig.hideUnknownEvents = value);
store
.getItemBool(SettingKeys.autoplayImages, AppConfig.autoplayImages)
.then((value) => AppConfig.autoplayImages = value);
}
}