Skip to content

Commit

Permalink
rm gecko_chart
Browse files Browse the repository at this point in the history
  • Loading branch information
cipig committed Jan 29, 2024
1 parent a17296d commit 6dc6064
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,12 @@ namespace atomic_dex
system_manager_.get_system<qt_wallet_manager>().set_status("complete");
}
this->dispatcher_.trigger<update_portfolio_values>();
/*
if (system_manager_.has_system<coingecko_wallet_charts_service>())
{
system_manager_.get_system<coingecko_wallet_charts_service>().manual_refresh("tick");
}
*/
}
}

Expand Down
4 changes: 3 additions & 1 deletion src/core/atomicdex/pages/qt.portfolio.page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace atomic_dex
{
m_main_current_balance_all = m_current_balance_all;
emit onMainFiatBalanceAllChanged();
m_system_manager.get_system<coingecko_wallet_charts_service>().manual_refresh("set_current_balance_fiat_all");
//m_system_manager.get_system<coingecko_wallet_charts_service>().manual_refresh("set_current_balance_fiat_all");
}
}
}
Expand Down Expand Up @@ -155,6 +155,7 @@ namespace atomic_dex
m_global_cfg_mdl->update_status(coins, false);
}

/*
WalletChartsCategories
portfolio_page::get_chart_category() const
{
Expand Down Expand Up @@ -218,4 +219,5 @@ namespace atomic_dex
{
return m_system_manager.get_system<coingecko_wallet_charts_service>().get_neareast_point(timestamp);
}
*/
} // namespace atomic_dex
2 changes: 1 addition & 1 deletion src/core/atomicdex/pages/qt.settings.page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ namespace atomic_dex
{
SPDLOG_INFO("change fiat {} to {}", m_config.current_fiat, current_fiat.toStdString());
atomic_dex::change_fiat(m_config, current_fiat.toStdString());
m_system_manager.get_system<coingecko_wallet_charts_service>().manual_refresh("set_current_fiat");
//m_system_manager.get_system<coingecko_wallet_charts_service>().manual_refresh("set_current_fiat");
emit onFiatChanged();
}
}
Expand Down

0 comments on commit 6dc6064

Please sign in to comment.