diff --git a/bigbluebutton-html5/imports/ui/components/layout/modal/component.jsx b/bigbluebutton-html5/imports/ui/components/layout/modal/component.jsx index 636be45778..c1c3a1cf72 100644 --- a/bigbluebutton-html5/imports/ui/components/layout/modal/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/layout/modal/component.jsx @@ -4,7 +4,6 @@ import { defineMessages, injectIntl } from 'react-intl'; import { LAYOUT_TYPE } from '/imports/ui/components/layout/enums'; import { withModalMounter } from '/imports/ui/components/common/modal/service'; import SettingsService from '/imports/ui/components/settings/service'; -import getFromUserSettings from '/imports/ui/services/users-settings'; import deviceInfo from '/imports/utils/deviceInfo'; import Toggle from '/imports/ui/components/common/switch/component'; import Button from '/imports/ui/components/common/button/component'; @@ -26,10 +25,8 @@ const LayoutModalComponent = (props) => { const [isKeepPushingLayout, setIsKeepPushingLayout] = useState(application.pushLayout); const BASE_NAME = Meteor.settings.public.app.basename; - const CUSTOM_STYLE_URL = Boolean(Meteor.settings.public.app.customStyleUrl); - const customStyleUrl = Boolean(getFromUserSettings('bbb_custom_style_url', CUSTOM_STYLE_URL)); - const LAYOUTS_PATH = `${BASE_NAME}/resources/images/layouts/${customStyleUrl ? 'customStyle/' : ''}`; + const LAYOUTS_PATH = `${BASE_NAME}/resources/images/layouts/`; const isKeepPushingLayoutEnabled = SettingsService.isKeepPushingLayoutEnabled(); const intlMessages = defineMessages({