From a46f3b08643c08616ba48896dc298ac46e30e62d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Cie=C5=9Blak?= Date: Wed, 2 Oct 2024 10:48:34 +0200 Subject: [PATCH] stores: flatNetworks removed from shared/RootStore --- ui/imports/shared/stores/RootStore.qml | 2 -- ui/imports/shared/views/HistoryView.qml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/imports/shared/stores/RootStore.qml b/ui/imports/shared/stores/RootStore.qml index 8626bfe213..5a0d2d1804 100644 --- a/ui/imports/shared/stores/RootStore.qml +++ b/ui/imports/shared/stores/RootStore.qml @@ -24,8 +24,6 @@ QtObject { property TokenMarketValuesStore marketValueStore: TokenMarketValuesStore {} - property var flatNetworks: networksModule.flatNetworks - function setNeverAskAboutUnfurlingAgain(value) { localAccountSensitiveSettings.neverAskAboutUnfurlingAgain = value; } diff --git a/ui/imports/shared/views/HistoryView.qml b/ui/imports/shared/views/HistoryView.qml index 290228d8b0..52975d5284 100644 --- a/ui/imports/shared/views/HistoryView.qml +++ b/ui/imports/shared/views/HistoryView.qml @@ -489,7 +489,7 @@ ColumnLayout { Layout.fillWidth: true modelData: transactionDelegate.model.activityEntry timeStampText: isModelDataValid ? LocaleUtils.formatRelativeTimestamp(modelData.timestamp * 1000, true) : "" - flatNetworks: RootStore.flatNetworks + flatNetworks: root.walletRootStore.flatNetworks currenciesStore: RootStore.currencyStore walletRootStore: root.walletRootStore showAllAccounts: root.showAllAccounts @@ -554,7 +554,7 @@ ColumnLayout { TransactionDelegate { Layout.fillWidth: true - flatNetworks: RootStore.flatNetworks + flatNetworks: root.walletRootStore.flatNetworks currenciesStore: RootStore.currencyStore walletRootStore: root.walletRootStore loading: true