This commit is contained in:
Gamebrary 2020-11-01 14:07:06 -07:00
parent c51f2d5cae
commit fa62a7a1db

View file

@ -144,6 +144,13 @@ export default {
.listAll()
.then(({ items }) => {
const wallpapers = items.map(({ fullPath, name }) => {
const forestRef = firebase.storage().ref(fullPath);
forestRef.getMetadata().then((metadata) => {
// TODO: get sizes
console.log(metadata);
});
const wallpaper = {
fullPath,
name,