fix codefactor + pie chart tweak
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/WalletBalanceTileViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/Tiles/WalletBalanceTileViewModel.cs
@@ -18,7 +18,5 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.Tiles
_balanceFiat = wallet1.Coins.Confirmed().TotalAmount().ToDecimal(MoneyUnit.BTC)
.GenerateFiatText(wallet.Synchronizer.UsdExchangeRate, "USD");
}
-
-
}
}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChartTileView.axaml.cs
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChartTileView.axaml.cs
-using System.Collections.Generic;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
-using WalletWasabi.Fluent.ViewModels;
namespace WalletWasabi.Fluent.Views.Wallets.Home.Tiles
{
- public partial class WalletBalanceChartTileViewModel : ViewModelBase
- {
- public List<double> YValues { get; } = new List<double> {0.25, 0.34, 0.79, 0.98, 1.2, 0.75, 0.68, 1.57};
-
- public List<double> XValues { get; } = new List<double> {0.25, 0.34, 0.79, 0.98, 1.2, 0.75, 0.68, 1.57};
- }
-
public class WalletBalanceChartTileView : UserControl
{
public WalletBalanceChartTileView()

ADD
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChartTileViewModel.cs
+using System.Collections.Generic;
+using WalletWasabi.Fluent.ViewModels;
+
+namespace WalletWasabi.Fluent.Views.Wallets.Home.Tiles
+{
+ public partial class WalletBalanceChartTileViewModel : ViewModelBase
+ {
+ public List<double> YValues { get; } = new()
+ {
+ 0.25, 0.34, 0.79, 0.98, 1.2, 0.75, 0.68, 1.57
+ };
+
+ public List<double> XValues { get; } = new()
+ {
+ 0.25, 0.34, 0.79, 0.98, 1.2, 0.75, 0.68, 1.57
+ };
+ }
+}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChartTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletPieChartTileView.axaml
BoxShadow="{DynamicResource InfoBoxShadow}">
<DockPanel>
<TextBlock Text="Wallet Privacy Status" DockPanel.Dock="Top" />
- <DockPanel LastChildFill="True" TextBlock.FontSize="11">
+ <DockPanel LastChildFill="True" TextBlock.FontSize="12">
<StackPanel DockPanel.Dock="Top">
- <TextBlock>Coin Privacy</TextBlock>
<TextBlock Opacity="0.5">in Percentage %</TextBlock>
</StackPanel>

fix codefactor + pie chart tweak