mirror of
https://github.com/romancm/gamebrary
synced 2024-12-20 00:03:11 +00:00
todo wip
This commit is contained in:
parent
c51f2d5cae
commit
fa62a7a1db
1 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,13 @@ export default {
|
||||||
.listAll()
|
.listAll()
|
||||||
.then(({ items }) => {
|
.then(({ items }) => {
|
||||||
const wallpapers = items.map(({ fullPath, name }) => {
|
const wallpapers = items.map(({ fullPath, name }) => {
|
||||||
|
const forestRef = firebase.storage().ref(fullPath);
|
||||||
|
|
||||||
|
forestRef.getMetadata().then((metadata) => {
|
||||||
|
// TODO: get sizes
|
||||||
|
console.log(metadata);
|
||||||
|
});
|
||||||
|
|
||||||
const wallpaper = {
|
const wallpaper = {
|
||||||
fullPath,
|
fullPath,
|
||||||
name,
|
name,
|
||||||
|
|
Loading…
Reference in a new issue