feat: Add option to not autoplay stickers and emotes
This commit is contained in:
parent
abab724af9
commit
41a9d0a2b0
11 changed files with 125 additions and 33 deletions
|
|
@ -51,6 +51,7 @@ class ImageViewerView extends StatelessWidget {
|
|||
maxSize: false,
|
||||
radius: 0.0,
|
||||
thumbnailOnly: false,
|
||||
animated: true,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -49,6 +49,12 @@ class SettingsChatView extends StatelessWidget {
|
|||
storeKey: SettingKeys.hideUnknownEvents,
|
||||
defaultValue: AppConfig.hideUnknownEvents,
|
||||
),
|
||||
SettingsSwitchListTile(
|
||||
title: L10n.of(context).autoplayImages,
|
||||
onChanged: (b) => AppConfig.autoplayImages = b,
|
||||
storeKey: SettingKeys.autoplayImages,
|
||||
defaultValue: AppConfig.autoplayImages,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue