2021-04-17 05:02:47 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
2021-04-20 03:53:42 +08:00
|
|
|
import { isVideoBroadcasting } from '/imports/ui/components/screenshare/service';
|
2021-04-17 05:02:47 +08:00
|
|
|
import LayoutManagerComponent from '/imports/ui/components/layout/layout-manager/component';
|
|
|
|
|
2021-05-18 04:25:07 +08:00
|
|
|
const LayoutManagerContainer = ({ screenIsShared }) => (
|
|
|
|
<LayoutManagerComponent {...{ screenIsShared }} />
|
|
|
|
);
|
2021-04-17 05:02:47 +08:00
|
|
|
|
2021-05-18 04:25:07 +08:00
|
|
|
export default withTracker(() => ({
|
|
|
|
screenIsShared: isVideoBroadcasting(),
|
|
|
|
}))(LayoutManagerContainer);
|