Skip to content

Commit

Permalink
chore: fix Firebase integration of CVS v3 rework
Browse files Browse the repository at this point in the history
  • Loading branch information
gre committed May 13, 2024
1 parent a18c28e commit d38aea3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/ledger-live-desktop/src/renderer/actions/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ export function useCalculateCountervaluesUserSettings(): CountervaluesSettings {
() => ({
trackingPairs,
autofillGaps: true,
refreshRate: LiveConfig.getValueByKey("countervalues_refreshRate"),
refreshRate: LiveConfig.getValueByKey("config_countervalues_refreshRate"),
marketCapBatchingAfterRank: LiveConfig.getValueByKey(
"countervalues_marketCapBatchingAfterRank",
"config_countervalues_marketCapBatchingAfterRank",
),
}),
[trackingPairs],
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-mobile/src/actions/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export function useUserSettings() {
() => ({
trackingPairs,
autofillGaps: true,
refreshRate: LiveConfig.getValueByKey("countervalues_refreshRate"),
refreshRate: LiveConfig.getValueByKey("config_countervalues_refreshRate"),
marketCapBatchingAfterRank: LiveConfig.getValueByKey(
"countervalues_marketCapBatchingAfterRank",
"config_countervalues_marketCapBatchingAfterRank",
),
}),
[trackingPairs],
Expand Down
4 changes: 2 additions & 2 deletions libs/ledger-live-common/src/config/sharedConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import { vechainConfig } from "../families/vechain/config";
import { appConfig } from "../apps/config";

const countervaluesConfig: ConfigSchema = {
countervalues_refreshRate: {
config_countervalues_refreshRate: {
type: "number",
default: 60 * 1000,
},
countervalues_marketCapBatchingAfterRank: {
config_countervalues_marketCapBatchingAfterRank: {
type: "number",
default: 20,
},
Expand Down

0 comments on commit d38aea3

Please sign in to comment.