Skip to content

Commit

Permalink
fix: idle UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ziv committed Apr 9, 2018
1 parent 2c702cd commit 1141fd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/player-gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ const mapStateToProps = state => ({
engine: {
adBreak: state.engine.adBreak,
isLive: state.engine.isLive,
hasError: state.engine.hasError
hasError: state.engine.hasError,
isIdle: state.engine.isIdle
}
},
config: state.config
Expand Down
3 changes: 1 addition & 2 deletions src/reducers/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const types = {
UPDATE_AD_SKIP_TIME_OFFSET: 'engine/UPDATE_AD_SKIP_TIME_OFFSET',
UPDATE_AD_SKIPPABLE_STATE: 'engine/UPDATE_AD_SKIPPABLE_STATE',
UPDATE_AD_URL: 'engine/UPDATE_AD_URL',
UPDATE_PLAYER_POSTER: 'engine/UPDATE_PLATER_POSTER',
UPDATE_PLAYER_POSTER: 'engine/UPDATE_PLAYER_POSTER',
UPDATE_IS_LIVE: 'engine/UPDATE_IS_LIVE',
UPDATE_IS_DVR: 'engine/UPDATE_IS_DVR',
UPDATE_ERROR: 'engine/ERROR',
Expand Down Expand Up @@ -199,7 +199,6 @@ export default (state: Object = initialState, action: Object) => {
isIdle: action.IsIdle
};


default:
return state;
}
Expand Down

0 comments on commit 1141fd1

Please sign in to comment.