Skip to content
Snippets Groups Projects

Add synced scoreboard

Merged Victor Löfgren requested to merge 183-show-scoreboard into dev
10 files
+ 107
66
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -40,3 +40,8 @@ export const setPresentationCode = (code: string) => (dispatch: AppDispatch) =>
@@ -40,3 +40,8 @@ export const setPresentationCode = (code: string) => (dispatch: AppDispatch) =>
export const setPresentationTimer = (timer: TimerState) => (dispatch: AppDispatch) => {
export const setPresentationTimer = (timer: TimerState) => (dispatch: AppDispatch) => {
dispatch({ type: Types.SET_PRESENTATION_TIMER, payload: timer })
dispatch({ type: Types.SET_PRESENTATION_TIMER, payload: timer })
}
}
 
 
/** Set show_scoreboard to input value */
 
export const setPresentationShowScoreboard = (show_scoreboard: boolean) => (dispatch: AppDispatch) => {
 
dispatch({ type: Types.SET_PRESENTATION_SHOW_SCOREBOARD, payload: show_scoreboard })
 
}
Loading