mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
Clean up, use flat structure for assets
This commit is contained in:
parent
e1dd7b47c0
commit
3b3e14ed7f
3 changed files with 104 additions and 120 deletions
|
@ -2057,73 +2057,73 @@ class ThemeAssets {
|
||||||
}) {
|
}) {
|
||||||
return ThemeAssets(
|
return ThemeAssets(
|
||||||
bellNew:
|
bellNew:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["bell_new"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["bell_new"] as String}",
|
||||||
personaIncognito:
|
personaIncognito:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["persona_incognito"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["persona_incognito"] as String}",
|
||||||
personaEasy:
|
personaEasy:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["persona_easy"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["persona_easy"] as String}",
|
||||||
stack:
|
stack:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["stack"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["stack"] as String}",
|
||||||
stackIcon:
|
stackIcon:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["stack_icon"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["stack_icon"] as String}",
|
||||||
receive:
|
receive:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["receive"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["receive"] as String}",
|
||||||
receivePending:
|
receivePending:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["receive_pending"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["receive_pending"] as String}",
|
||||||
receiveCancelled:
|
receiveCancelled:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["receive_cancelled"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["receive_cancelled"] as String}",
|
||||||
send:
|
send:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["send"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["send"] as String}",
|
||||||
sendPending:
|
sendPending:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["send_pending"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["send_pending"] as String}",
|
||||||
sendCancelled:
|
sendCancelled:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["send_cancelled"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["send_cancelled"] as String}",
|
||||||
themePreview:
|
themePreview:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]["theme_preview"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["theme_preview"] as String}",
|
||||||
bitcoin:
|
bitcoin:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["bitcoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["bitcoin"] as String}",
|
||||||
litecoin:
|
litecoin:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["litecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["litecoin"] as String}",
|
||||||
bitcoincash:
|
bitcoincash:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["bitcoincash"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["bitcoincash"] as String}",
|
||||||
dogecoin:
|
dogecoin:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["dogecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["dogecoin"] as String}",
|
||||||
epicCash:
|
epicCash:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["epicCash"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["epicCash"] as String}",
|
||||||
ethereum:
|
ethereum:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["ethereum"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["ethereum"] as String}",
|
||||||
firo:
|
firo:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["firo"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["firo"] as String}",
|
||||||
monero:
|
monero:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["monero"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["monero"] as String}",
|
||||||
wownero:
|
wownero:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["wownero"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["wownero"] as String}",
|
||||||
namecoin:
|
namecoin:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["namecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["namecoin"] as String}",
|
||||||
particl:
|
particl:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['small']["particl"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["particl"] as String}",
|
||||||
bitcoinImage:
|
bitcoinImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["bitcoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["bitcoin_image"] as String}",
|
||||||
bitcoincashImage:
|
bitcoincashImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["bitcoincash"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["bitcoincash_image"] as String}",
|
||||||
dogecoinImage:
|
dogecoinImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["dogecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["dogecoin_image"] as String}",
|
||||||
epicCashImage:
|
epicCashImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["epicCash"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["epicCash_image"] as String}",
|
||||||
ethereumImage:
|
ethereumImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["ethereum"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["ethereum_image"] as String}",
|
||||||
firoImage:
|
firoImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["firo"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["firo_image"] as String}",
|
||||||
litecoinImage:
|
litecoinImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["litecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["litecoin_image"] as String}",
|
||||||
moneroImage:
|
moneroImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["monero"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["monero_image"] as String}",
|
||||||
wowneroImage:
|
wowneroImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["wownero"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["wownero_image"] as String}",
|
||||||
namecoinImage:
|
namecoinImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["namecoin"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["namecoin_image"] as String}",
|
||||||
particlImage:
|
particlImage:
|
||||||
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["svg"]['coin_icons']['big']["particl"] as String}",
|
"$applicationThemesDirectoryPath/$internalThemeUuid/${json["assets"]["particl_image"] as String}",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -215,48 +215,40 @@ final Map<String, dynamic> darkJson = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"assets": {
|
"assets": {
|
||||||
"svg": {
|
"background": "",
|
||||||
"background": "",
|
"bitcoin": "svg/coin_icons/small/Bitcoin.svg",
|
||||||
"coin_icons": {
|
"litecoin": "svg/coin_icons/small/Litecoin.svg",
|
||||||
"small": {
|
"bitcoincash": "svg/coin_icons/small/Bitcoincash.svg",
|
||||||
"bitcoin": "svg/coin_icons/small/Bitcoin.svg",
|
"dogecoin": "svg/coin_icons/small/Dogecoin.svg",
|
||||||
"litecoin": "svg/coin_icons/small/Litecoin.svg",
|
"epicCash": "svg/coin_icons/small/EpicCash.svg",
|
||||||
"bitcoincash": "svg/coin_icons/small/Bitcoincash.svg",
|
"ethereum": "svg/coin_icons/small/Ethereum.svg",
|
||||||
"dogecoin": "svg/coin_icons/small/Dogecoin.svg",
|
"firo": "svg/coin_icons/small/Firo.svg",
|
||||||
"epicCash": "svg/coin_icons/small/EpicCash.svg",
|
"monero": "svg/coin_icons/small/Monero.svg",
|
||||||
"ethereum": "svg/coin_icons/small/Ethereum.svg",
|
"wownero": "svg/coin_icons/small/Wownero.svg",
|
||||||
"firo": "svg/coin_icons/small/Firo.svg",
|
"namecoin": "svg/coin_icons/small/Namecoin.svg",
|
||||||
"monero": "svg/coin_icons/small/Monero.svg",
|
"particl": "svg/coin_icons/small/Particl.svg",
|
||||||
"wownero": "svg/coin_icons/small/Wownero.svg",
|
"bitcoin_image": "svg/coin_icons/big/bitcoin.svg",
|
||||||
"namecoin": "svg/coin_icons/small/Namecoin.svg",
|
"litecoin_image": "svg/coin_icons/big/litecoin.svg",
|
||||||
"particl": "svg/coin_icons/small/Particl.svg",
|
"bitcoincash_image": "svg/coin_icons/big/bitcoincash.svg",
|
||||||
},
|
"dogecoin_image": "svg/coin_icons/big/doge.svg",
|
||||||
"big": {
|
"epicCash_image": "svg/coin_icons/big/epic-cash.svg",
|
||||||
"bitcoin": "svg/coin_icons/big/bitcoin.svg",
|
"ethereum_image": "svg/coin_icons/big/ethereum.svg",
|
||||||
"litecoin": "svg/coin_icons/big/litecoin.svg",
|
"firo_image": "svg/coin_icons/big/firo.svg",
|
||||||
"bitcoincash": "svg/coin_icons/big/bitcoincash.svg",
|
"monero_image": "svg/coin_icons/big/monero.svg",
|
||||||
"dogecoin": "svg/coin_icons/big/doge.svg",
|
"wownero_image": "svg/coin_icons/big/wownero.svg",
|
||||||
"epicCash": "svg/coin_icons/big/epic-cash.svg",
|
"namecoin_image": "svg/coin_icons/big/namecoin.svg",
|
||||||
"ethereum": "svg/coin_icons/big/ethereum.svg",
|
"particl_image": "svg/coin_icons/big/particl.svg",
|
||||||
"firo": "svg/coin_icons/big/firo.svg",
|
"bell_new": "svg/bell-new.svg",
|
||||||
"monero": "svg/coin_icons/big/monero.svg",
|
"persona_incognito": "svg/persona-incognito-1.svg",
|
||||||
"wownero": "svg/coin_icons/big/wownero.svg",
|
"persona_easy": "svg/persona-easy-1.svg",
|
||||||
"namecoin": "svg/coin_icons/big/namecoin.svg",
|
"stack": "svg/stack.svg",
|
||||||
"particl": "svg/coin_icons/big/particl.svg",
|
"stack_icon": "svg/stack-icon1.svg",
|
||||||
}
|
"receive": "svg/tx-icon-receive.svg",
|
||||||
},
|
"receive_pending": "svg/tx-icon-receive-pending.svg",
|
||||||
"bell_new": "svg/bell-new.svg",
|
"receive_cancelled": "svg/tx-icon-receive-failed.svg",
|
||||||
"persona_incognito": "svg/persona-incognito-1.svg",
|
"send": "svg/tx-icon-send.svg",
|
||||||
"persona_easy": "svg/persona-easy-1.svg",
|
"send_pending": "svg/tx-icon-send-pending.svg",
|
||||||
"stack": "svg/stack.svg",
|
"send_cancelled": "svg/tx-icon-send-failed.svg",
|
||||||
"stack_icon": "svg/stack-icon1.svg",
|
"theme_preview": "svg/dark-theme.svg",
|
||||||
"receive": "svg/tx-icon-receive.svg",
|
|
||||||
"receive_pending": "svg/tx-icon-receive-pending.svg",
|
|
||||||
"receive_cancelled": "svg/tx-icon-receive-failed.svg",
|
|
||||||
"send": "svg/tx-icon-send.svg",
|
|
||||||
"send_pending": "svg/tx-icon-send-pending.svg",
|
|
||||||
"send_cancelled": "svg/tx-icon-send-failed.svg",
|
|
||||||
"theme_preview": "svg/dark-theme.svg",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -215,48 +215,40 @@ final Map<String, dynamic> lightJson = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"assets": {
|
"assets": {
|
||||||
"svg": {
|
"background": "",
|
||||||
"background": "",
|
"bitcoin": "svg/coin_icons/small/Bitcoin.svg",
|
||||||
"coin_icons": {
|
"litecoin": "svg/coin_icons/small/Litecoin.svg",
|
||||||
"small": {
|
"bitcoincash": "svg/coin_icons/small/Bitcoincash.svg",
|
||||||
"bitcoin": "svg/coin_icons/small/Bitcoin.svg",
|
"dogecoin": "svg/coin_icons/small/Dogecoin.svg",
|
||||||
"litecoin": "svg/coin_icons/small/Litecoin.svg",
|
"epicCash": "svg/coin_icons/small/EpicCash.svg",
|
||||||
"bitcoincash": "svg/coin_icons/small/Bitcoincash.svg",
|
"ethereum": "svg/coin_icons/small/Ethereum.svg",
|
||||||
"dogecoin": "svg/coin_icons/small/Dogecoin.svg",
|
"firo": "svg/coin_icons/small/Firo.svg",
|
||||||
"epicCash": "svg/coin_icons/small/EpicCash.svg",
|
"monero": "svg/coin_icons/small/Monero.svg",
|
||||||
"ethereum": "svg/coin_icons/small/Ethereum.svg",
|
"wownero": "svg/coin_icons/small/Wownero.svg",
|
||||||
"firo": "svg/coin_icons/small/Firo.svg",
|
"namecoin": "svg/coin_icons/small/Namecoin.svg",
|
||||||
"monero": "svg/coin_icons/small/Monero.svg",
|
"particl": "svg/coin_icons/small/Particl.svg",
|
||||||
"wownero": "svg/coin_icons/small/Wownero.svg",
|
"bitcoin_image": "svg/coin_icons/big/bitcoin.svg",
|
||||||
"namecoin": "svg/coin_icons/small/Namecoin.svg",
|
"litecoin_image": "svg/coin_icons/big/litecoin.svg",
|
||||||
"particl": "svg/coin_icons/small/Particl.svg",
|
"bitcoincash_image": "svg/coin_icons/big/bitcoincash.svg",
|
||||||
},
|
"dogecoin_image": "svg/coin_icons/big/doge.svg",
|
||||||
"big": {
|
"epicCash_image": "svg/coin_icons/big/epic-cash.svg",
|
||||||
"bitcoin": "svg/coin_icons/big/bitcoin.svg",
|
"ethereum_image": "svg/coin_icons/big/ethereum.svg",
|
||||||
"litecoin": "svg/coin_icons/big/litecoin.svg",
|
"firo_image": "svg/coin_icons/big/firo.svg",
|
||||||
"bitcoincash": "svg/coin_icons/big/bitcoincash.svg",
|
"monero_image": "svg/coin_icons/big/monero.svg",
|
||||||
"dogecoin": "svg/coin_icons/big/doge.svg",
|
"wownero_image": "svg/coin_icons/big/wownero.svg",
|
||||||
"epicCash": "svg/coin_icons/big/epic-cash.svg",
|
"namecoin_image": "svg/coin_icons/big/namecoin.svg",
|
||||||
"ethereum": "svg/coin_icons/big/ethereum.svg",
|
"particl_image": "svg/coin_icons/big/particl.svg",
|
||||||
"firo": "svg/coin_icons/big/firo.svg",
|
"bell_new": "svg/bell-new.svg",
|
||||||
"monero": "svg/coin_icons/big/monero.svg",
|
"persona_incognito": "svg/persona-incognito-1.svg",
|
||||||
"wownero": "svg/coin_icons/big/wownero.svg",
|
"persona_easy": "svg/persona-easy-1.svg",
|
||||||
"namecoin": "svg/coin_icons/big/namecoin.svg",
|
"stack": "svg/stack.svg",
|
||||||
"particl": "svg/coin_icons/big/particl.svg",
|
"stack_icon": "svg/stack-icon1.svg",
|
||||||
}
|
"receive": "svg/tx-icon-receive.svg",
|
||||||
},
|
"receive_pending": "svg/tx-icon-receive-pending.svg",
|
||||||
"bell_new": "svg/bell-new.svg",
|
"receive_cancelled": "svg/tx-icon-receive-failed.svg",
|
||||||
"persona_incognito": "svg/persona-incognito-1.svg",
|
"send": "svg/tx-icon-send.svg",
|
||||||
"persona_easy": "svg/persona-easy-1.svg",
|
"send_pending": "svg/tx-icon-send-pending.svg",
|
||||||
"stack": "svg/stack.svg",
|
"send_cancelled": "svg/tx-icon-send-failed.svg",
|
||||||
"stack_icon": "svg/stack-icon1.svg",
|
"theme_preview": "svg/light-mode.svg",
|
||||||
"receive": "svg/tx-icon-receive.svg",
|
|
||||||
"receive_pending": "svg/tx-icon-receive-pending.svg",
|
|
||||||
"receive_cancelled": "svg/tx-icon-receive-failed.svg",
|
|
||||||
"send": "svg/tx-icon-send.svg",
|
|
||||||
"send_pending": "svg/tx-icon-send-pending.svg",
|
|
||||||
"send_cancelled": "svg/tx-icon-send-failed.svg",
|
|
||||||
"theme_preview": "svg/light-mode.svg",
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue