File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/remix-ide/src/app/ui/landing-page Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -322,6 +322,7 @@ export class LandingPage extends ViewPlugin {
322322
323323 const downloadFiles = async ( ) => {
324324 try {
325+ tooltip ( 'preparing files for download, please wait..' )
325326 const fileProviders = globalRegistry . get ( 'fileproviders' ) . api
326327 const zip = new JSZip ( )
327328 await fileProviders . browser . copyFolderToJson ( '/' , ( { path, content } ) => {
@@ -330,7 +331,6 @@ export class LandingPage extends ViewPlugin {
330331 zip . folder ( path , content )
331332 } )
332333 zip . generateAsync ( { type : 'blob' } ) . then ( function ( blob ) {
333- tooltip ( 'Files ready for download. Do not disconnect from the internet.' )
334334 saveAs ( blob , 'remixdbackup.zip' )
335335 } ) . catch ( ( e ) => {
336336 tooltip ( e . message )
@@ -403,8 +403,8 @@ export class LandingPage extends ViewPlugin {
403403
404404 const migrate = async ( ) => {
405405 try {
406+ tooltip ( 'migrating workspace...' )
406407 const workspaceName = await migrateToWorkspace ( this . fileManager , this . filePanel )
407-
408408 tooltip ( 'done. ' + workspaceName + ' created.' )
409409 } catch ( e ) {
410410 setTimeout ( ( ) => {
You can’t perform that action at this time.
0 commit comments