mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
btc-wallet: update for new settings
This commit is contained in:
parent
6b5942b59a
commit
61ed89c708
@ -24,7 +24,7 @@
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="portal-root"></div>
|
||||
<script src="/apps/btc/desk.js"></script>
|
||||
<script src="/apps/bitcoin/desk.js"></script>
|
||||
<script src="/session.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -30,6 +30,7 @@ export default class CurrencyPicker extends Component {
|
||||
}
|
||||
let setCurrency = {
|
||||
"put-entry": {
|
||||
desk: window.desk,
|
||||
value: newCurrency,
|
||||
"entry-key": "currency",
|
||||
"bucket-key": "btc-wallet",
|
||||
|
@ -24,6 +24,7 @@ export default class Warning extends Component {
|
||||
store.handleEvent({ data: { bucket: { warning: false}}});
|
||||
let removeWarning = {
|
||||
"put-entry": {
|
||||
desk: window.desk,
|
||||
value: false,
|
||||
"entry-key": "warning",
|
||||
"bucket-key": "btc-wallet",
|
||||
|
@ -19,9 +19,8 @@ export class Subscription {
|
||||
}
|
||||
|
||||
initializeSettings() {
|
||||
return;
|
||||
let app = 'settings-store';
|
||||
let path = '/bucket/btc-wallet';
|
||||
let path = `/bucket/${window.desk}/btc-wallet`;
|
||||
|
||||
fetch(`/~/scry/${app}${path}.json`).then(res => res.json())
|
||||
.then(n => {
|
||||
|
Loading…
Reference in New Issue
Block a user