f5a5a960ba
Adds 2 more songs to the timer, which can be switched using the radio buttons inside timer panel. Changed the music loop logic to make it gapless.
19 lines
629 B
JavaScript
19 lines
629 B
JavaScript
import React from 'react';
|
|
import { withTracker } from 'meteor/react-meteor-data';
|
|
import Indicator from './component';
|
|
import TimerService from '/imports/ui/components/timer/service';
|
|
|
|
const IndicatorContainer = (props) => {
|
|
return (<Indicator {...props} />);
|
|
};
|
|
|
|
export default withTracker(() => ({
|
|
timer: TimerService.getTimer(),
|
|
timeOffset: TimerService.getTimeOffset(),
|
|
isModerator: TimerService.isModerator(),
|
|
isTimerActive: TimerService.isActive(),
|
|
isMusicActive: TimerService.isMusicActive(),
|
|
currentTrack: TimerService.getCurrentTrack(),
|
|
hidden: Session.get('openPanel') !== '',
|
|
}))(IndicatorContainer);
|