We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 406c639 commit 5750560Copy full SHA for 5750560
app/config.js
@@ -22,7 +22,7 @@ const defaults = {
22
'DASH',
23
'DNR',
24
'DOGE',
25
- 'EQL',
+ 'EQLI',
26
'HUSH',
27
'KMD',
28
'LTC',
@@ -41,4 +41,19 @@ if (isNightlyBuild) {
41
defaults.enabledCoins.push('PIZZA', 'BEER');
42
}
43
44
-module.exports = new Store({defaults});
+const renameEqlToEqli = store => {
45
+ let enabledCoins = store.get('enabledCoins');
46
+ if (enabledCoins.includes('EQL')) {
47
+ enabledCoins = enabledCoins.filter(x => x !== 'EQL' && x !== 'EQLI');
48
+ enabledCoins.push('EQLI');
49
+ store.set('enabledCoins', enabledCoins);
50
+ }
51
+};
52
+
53
+const migrate = store => {
54
+ renameEqlToEqli(store);
55
56
57
+const store = new Store({defaults});
58
+migrate(store);
59
+module.exports = store;
0 commit comments