Hide options when wallet is empty
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartLargeTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartLargeTileView.axaml
<DockPanel>
<DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch">
<TextBlock Text="Balance over time" DockPanel.Dock="Left" />
- <ItemsControl DockPanel.Dock="Right" HorizontalAlignment="Right" Items="{Binding TimePeriodOptions}">
+ <ItemsControl DockPanel.Dock="Right"
+ HorizontalAlignment="Right"
+ Items="{Binding TimePeriodOptions}"
+ IsVisible="{Binding !!IsEmptyWallet}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" Spacing="8" Margin="0 0 0 -3" />

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartMediumTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartMediumTileView.axaml
<DockPanel>
<DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch">
<TextBlock Text="Balance over time" DockPanel.Dock="Left" />
- <Button Classes="plain" DockPanel.Dock="Right" HorizontalAlignment="Right" Margin="0 0 0 -3">
+ <Button Classes="plain"
+ DockPanel.Dock="Right"
+ HorizontalAlignment="Right"
+ Margin="0 0 0 -3"
+ IsVisible="{Binding !!IsEmptyWallet}">
<Button.Flyout>
<Flyout Placement="Bottom" ShowMode="TransientWithDismissOnPointerMoveAway">
<ItemsControl Items="{Binding TimePeriodOptions}">

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartWideTileView.axaml
WalletWasabi.Fluent/Views/Wallets/Home/Tiles/WalletBalanceChart/WalletBalanceChartWideTileView.axaml
<DockPanel>
<DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch">
<TextBlock Text="Balance over time" DockPanel.Dock="Left" />
- <ItemsControl DockPanel.Dock="Right" HorizontalAlignment="Right" Items="{Binding TimePeriodOptions}">
+ <ItemsControl DockPanel.Dock="Right"
+ HorizontalAlignment="Right"
+ Items="{Binding TimePeriodOptions}"
+ IsVisible="{Binding !!IsEmptyWallet}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal" Spacing="8" Margin="0 0 0 -3" />

Hide options when wallet is empty