Skip to content

Commit d8945ca

Browse files
ioedeveloperLianaHus
authored andcommitted
Update toasters
1 parent 998cb3b commit d8945ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/remix-ide/src/app/ui/landing-page/landing-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(() => {

0 commit comments

Comments
 (0)