pull/2035/head
filip mertens 3 years ago
parent 2acfa6ac3f
commit fe1dd672f4
  1. 2
      apps/remix-ide/src/app/plugins/storage.ts

@ -9,12 +9,10 @@ const profile = {
export class StoragePlugin extends Plugin { export class StoragePlugin extends Plugin {
constructor() { constructor() {
console.log('storage plugin')
super(profile); super(profile);
} }
async getStorage() { async getStorage() {
console.log('getStorage')
if ('storage' in navigator && 'estimate' in navigator.storage) { if ('storage' in navigator && 'estimate' in navigator.storage) {
return navigator.storage.estimate() return navigator.storage.estimate()
} else { } else {

Loading…
Cancel
Save