Refactor to UpdateValues method
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/WalletBalanceChartTileViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/WalletBalanceChartTileViewModel.cs
@@ -190,6 +190,11 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles
XLabels = null;
}
+ UpdateValues(source, target);
+ }
+
+ private void UpdateValues(PolyLine source, PolyLine target)
+ {
if (source.XValues.Count > 0 && target.XValues.Count > 0)
{
const double Speed = 0.05;

Refactor to UpdateValues method