mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 21:10:14 +02:00
web/storage: remove getStorageQuota()
not used anymore
This commit is contained in:
parent
b3f151f3cb
commit
893c6edde7
@ -64,11 +64,3 @@ export const clearFileStorage = async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getStorageQuota = async () => {
|
|
||||||
let estimate;
|
|
||||||
if (navigator.storage.estimate) {
|
|
||||||
estimate = await navigator.storage.estimate();
|
|
||||||
}
|
|
||||||
return estimate;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user