displayOverlayCardDelegateReducer function

bool displayOverlayCardDelegateReducer(
  1. SwipeFeedCardState state,
  2. dynamic event
)

Implementation

bool displayOverlayCardDelegateReducer(SwipeFeedCardState state, dynamic event){
  if(event is SetDisplayOverlayCardDelegateEvent){
    return event.displayOverlayCardDelegate;
  }
  return state.displayOverlayCardDelegate;
}