mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 10:31:35 +00:00
Add currency XAF, TZS. Fix XOF icon.
This commit is contained in:
parent
9297ddfb2a
commit
2f1f82f1a6
@ -66,8 +66,10 @@ export default function getFlags(code){
|
|||||||
if(code == 'THB') flag = <Flags.TH {...props}/>;
|
if(code == 'THB') flag = <Flags.TH {...props}/>;
|
||||||
if(code == 'TTD') flag = <Flags.TT {...props}/>;
|
if(code == 'TTD') flag = <Flags.TT {...props}/>;
|
||||||
if(code == 'VND') flag = <Flags.VN {...props}/>;
|
if(code == 'VND') flag = <Flags.VN {...props}/>;
|
||||||
if(code == 'XOF') flag = <Flags.SE {...props}/>;
|
if(code == 'XOF') flag = <Flags.BJ {...props}/>;
|
||||||
if(code == 'TWD') flag = <Flags.TW {...props}/>;
|
if(code == 'TWD') flag = <Flags.TW {...props}/>;
|
||||||
|
if(code == 'TZS') flag = <Flags.TZ {...props}/>;
|
||||||
|
if(code == 'XAF') flag = <Flags.CM {...props}/>;
|
||||||
if(code == 'ANY') flag = <EarthIcon {...props}/>;
|
if(code == 'ANY') flag = <EarthIcon {...props}/>;
|
||||||
if(code == 'XAU') flag = <GoldIcon {...props}/>;
|
if(code == 'XAU') flag = <GoldIcon {...props}/>;
|
||||||
if(code == 'BTC') flag = <SwapCallsIcon color="primary"/>;
|
if(code == 'BTC') flag = <SwapCallsIcon color="primary"/>;
|
||||||
|
@ -60,6 +60,8 @@
|
|||||||
"59":"VND",
|
"59":"VND",
|
||||||
"60":"XOF",
|
"60":"XOF",
|
||||||
"61":"TWD",
|
"61":"TWD",
|
||||||
|
"62":"TZS",
|
||||||
|
"63":"XAF",
|
||||||
"300":"XAU",
|
"300":"XAU",
|
||||||
"1000":"BTC"
|
"1000":"BTC"
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
4
setup.md
4
setup.md
@ -23,11 +23,11 @@ Running the full stack is not easy, since RoboSats needs of many services. Howev
|
|||||||
|
|
||||||
6 - Pick a RoboSats backend to test the new frontend: e.g. "robosats.onion.moe", or "unsafe.testnet.robosats.com". You can also use the onion services also if you are using Brave or Tor Browser (untested!)
|
6 - Pick a RoboSats backend to test the new frontend: e.g. "robosats.onion.moe", or "unsafe.testnet.robosats.com". You can also use the onion services also if you are using Brave or Tor Browser (untested!)
|
||||||
|
|
||||||
7 - Open requestly extension and add a new redirect rule. Make "{robosats-site}/static/frontend/main.js" redirect to "127.0.0.1:8080/main.js" and save the changes.
|
7 - Open Requestly extension and add a new redirect rule. Make "{robosats-site}/static/frontend/main.js" redirect to "127.0.0.1:8080/main.js" and save the changes.
|
||||||
|
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
**You are ready to go!** Edit the frontend code in `/frontend/src/` to make the changes you want. Withing a few seconds, the `npm run dev` process will pack the code into the local `main.js`. Visit your selected {robosats-site} and you will see your new awesome frontend! :)
|
**You are ready to go!** Edit the frontend code in `/frontend/src/` to make the changes you want. Within a few seconds, the `npm run dev` process will pack the code into the local `main.js`. Visit your selected {robosats-site} and you will see your new awesome frontend! :)
|
||||||
|
|
||||||
Every time you save changes to files in `/frontend/src` you will be able to see them in your browser after a few seconds using force refresh (Ctrl+Shift+R). If you need to edit CSS or other static files, simply add them to Requestly in the same way.
|
Every time you save changes to files in `/frontend/src` you will be able to see them in your browser after a few seconds using force refresh (Ctrl+Shift+R). If you need to edit CSS or other static files, simply add them to Requestly in the same way.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user