@@ -56,9 +56,8 @@ const steps = {
56
56
} ,
57
57
[ Step . DONE ] : {
58
58
status : 'Done' ,
59
- description : 'Your device has been updated successfully. You can now unplug the all cables from your device, '
60
- + 'and wait for the light to stop blinking then plug the power cord in again. '
61
- + ' To complete the system reset, follow the instructions on your device.' ,
59
+ description : 'Your device has been flashed successfully. To complete the system reset, follow the instructions ' +
60
+ 'on your device.' ,
62
61
bgColor : 'bg-green-500' ,
63
62
icon : done ,
64
63
} ,
@@ -67,8 +66,7 @@ const steps = {
67
66
const errors = {
68
67
[ Error . UNKNOWN ] : {
69
68
status : 'Unknown error' ,
70
- description : 'An unknown error has occurred. Unplug your device and wait for 20s. ' +
71
- 'Restart your browser and try again.' ,
69
+ description : 'An unknown error has occurred. Unplug your device, restart your browser and try again.' ,
72
70
bgColor : 'bg-red-500' ,
73
71
icon : exclamation ,
74
72
} ,
@@ -80,14 +78,12 @@ const errors = {
80
78
} ,
81
79
[ Error . LOST_CONNECTION ] : {
82
80
status : 'Lost connection' ,
83
- description : 'The connection to your device was lost. Check that your cables are connected properly and try again. ' +
84
- 'Unplug your device and wait for around 20s.' ,
81
+ description : 'The connection to your device was lost. Check that your cables are connected properly and try again.' ,
85
82
icon : cable ,
86
83
} ,
87
84
[ Error . DOWNLOAD_FAILED ] : {
88
85
status : 'Download failed' ,
89
- description :'The system image could not be downloaded. Unplug your device and wait for 20s. ' +
90
- 'Check your internet connection and try again.' ,
86
+ description : 'The system image could not be downloaded. Check your internet connection and try again.' ,
91
87
icon : cloudError ,
92
88
} ,
93
89
[ Error . CHECKSUM_MISMATCH ] : {
@@ -114,6 +110,7 @@ const errors = {
114
110
} ,
115
111
}
116
112
113
+
117
114
function LinearProgress ( { value, barColor } ) {
118
115
if ( value === - 1 || value > 100 ) value = 100
119
116
return (
0 commit comments