add clearer concept of timeout vs error

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

(cherry picked from commit 104c804)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-06-03 15:31:08 +01:00
parent b95ad701af
commit 3ebd90565c
3 changed files with 8 additions and 4 deletions

View file

@ -45,13 +45,16 @@ export default React.createClass({
let message;
switch (state) {
case updateStateEnum.ERROR:
message = 'Error encountered when checking for an update';
message = 'Error encountered when checking for an update.';
break;
case updateStateEnum.TIMEOUT:
message = 'Update Check timed out, try again later.';
break;
case updateStateEnum.NOTAVAILABLE:
message = 'No update found';
message = 'No update found.';
break;
case updateStateEnum.DOWNLOADING:
message = 'Update is being downloaded';
message = 'Update is being downloaded.';
done = false;
break;
}