From fa62a7a1dbb87584596c11ac0b51ed5990ccd4a4 Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Sun, 1 Nov 2020 14:07:06 -0700 Subject: [PATCH] todo wip --- src/store/actions.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/store/actions.js b/src/store/actions.js index 763e650d..a007d272 100644 --- a/src/store/actions.js +++ b/src/store/actions.js @@ -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,