Add setting to enable widget screenshots (if widgets declare support)

Fixes the remainder of https://github.com/vector-im/riot-web/issues/6708

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2018-05-12 14:29:37 -06:00
parent f8fd90c559
commit 9e11720191
5 changed files with 13 additions and 3 deletions

View file

@ -265,4 +265,9 @@ export const SETTINGS = {
default: true,
controller: new AudioNotificationsEnabledController(),
},
"enableWidgetScreenshots": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Enable widget screenshots on supported widgets'),
default: false,
},
};