bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/submenus/closed-captions/service.js
2017-06-02 19:25:02 +00:00

14 lines
288 B
JavaScript

import Storage from '/imports/ui/services/storage/session';
getClosedCaptionSettings = () => {
const ccSettings = {};
const ccEnabled = Storage.getItem('closedCaptions');
ccSettings.ccEnabled = !!ccEnabled;
return ccSettings;
};
export default {
getClosedCaptionSettings,
};