function GRIDDLE_TOGGLE_SETTINGS(state, action) {
  // if undefined treat as if it's false
  const showSettings = state.get('showSettings') || false;

  return state.set('showSettings', !showSettings);
}
Sets the settings visibility to true / false depending on the current property