mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
resize
This commit is contained in:
parent
ecd9f0cd13
commit
cdd32904b3
Binary file not shown.
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 100 KiB |
Binary file not shown.
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 67 KiB |
|
@ -24,7 +24,8 @@ tinify.key = "MXxhvmhjMkMM6CVccGrfyQm2RHpTf1G7"; // Key is free to get, gives 50
|
|||
|
||||
function downsize() {
|
||||
console.log(`Start resizing`)
|
||||
bluebird.mapSeries(foundChains, async chain => {
|
||||
bluebird.map(foundChains, async chain => {
|
||||
console.log(`Resizing assets on chain ${chain}`)
|
||||
const chainLogoPath = getChainLogoPath(chain)
|
||||
const { width: srcWidth, heigth: srcHeight } = getImageDimentions(chainLogoPath)
|
||||
|
||||
|
@ -71,6 +72,8 @@ function downsize() {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
console.log(` Resizing assets on chain ${chain} completed`)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user