Skip to content

Commit

Permalink
PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Corina committed Apr 3, 2019
1 parent 0227c9d commit e9d7b67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export default function ({
connectivityTextSize,
notificationText,
primaryFont

}) {
return {
alignItems: 'center',
Expand Down
10 changes: 5 additions & 5 deletions packages/core/src/reducers/connectivityStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,38 +30,38 @@ export default function ( state = DEFAULT_STATE, { type } ) {
...state,
status: 'connected',
timeoutCompleted: false
}
};
break;

case CONNECT_REJECTED:
state = {
...state,
status: 'error',
timeoutCompleted: false
}
};
break;

case CONNECT_STILL_PENDING:
state = {
...state,
status: 'connectingslow',
timeoutCompleted: false
}
};
break;

case DISCONNECT_FULFILLED:
state = {
...state,
status: 'notconnected',
timeoutCompleted: false
}
};
break;

case CONNECT_TIMEOUT_COMPLETE:
state = {
...state,
timeoutCompleted: true
}
};
break;

default: break;
Expand Down

0 comments on commit e9d7b67

Please sign in to comment.