File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,6 @@ class USBWorkflow extends Workflow {
124
124
device = await navigator . serial . requestPort ( ) ;
125
125
console . log ( device ) ;
126
126
}
127
-
128
- // TODO: Make it more obvious to user that something happened for smaller screens
129
- // Perhaps providing checkmarks by adding a css class when a step is complete would be helpful
130
- // This would help with other workflows as well
131
127
} else {
132
128
console . log ( 'Requesting any serial device...' ) ;
133
129
try {
@@ -171,7 +167,7 @@ class USBWorkflow extends Workflow {
171
167
btnSelectHostFolder . disabled = true ;
172
168
let serialConnect = async ( event ) => {
173
169
try {
174
- await this . showBusy ( this . connectToSerial ( ) ) ;
170
+ await this . connectToSerial ( ) ;
175
171
} catch ( e ) {
176
172
//console.log(e);
177
173
//alert(e.message);
@@ -291,7 +287,7 @@ class USBWorkflow extends Workflow {
291
287
292
288
// At this point we should see if we should init the file client and check if have a saved dir handle
293
289
let fileops = new FileOps ( this . repl , false ) ;
294
- if ( await fileops . isReadOnly ( ) ) {
290
+ if ( await this . showBusy ( fileops . isReadOnly ( ) ) ) {
295
291
// UID Only needed for matching the CIRCUITPY drive with the Serial Terminal
296
292
await this . showBusy ( this . _getDeviceUid ( ) ) ;
297
293
let modal = this . connectDialog . getModal ( ) ;
You can’t perform that action at this time.
0 commit comments