Remove empty wallet message
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -33,8 +33,6 @@ public partial class HistoryViewModel : ActivatableViewModel
[AutoNotify(SetterModifier = AccessModifier.Private)]
private bool _isTransactionHistoryEmpty;
- [AutoNotify(SetterModifier = AccessModifier.Private)]
- private bool _isTransactionHistoryLoaded;
public HistoryViewModel(WalletViewModel walletVm)
{
@@ -226,8 +224,6 @@ public partial class HistoryViewModel : ActivatableViewModel
x.Clear();
x.AddRange(newHistoryList);
});
-
- IsTransactionHistoryLoaded = true;
}
catch (Exception ex)
{

MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
-
</UserControl.Resources>
<Panel>
</ControlTemplate>
</Setter>
</Style>
-
</TreeDataGrid.Styles>
</TreeDataGrid>
<Panel IsVisible="{Binding IsTransactionHistoryEmpty}">
<c:HistoryPlaceholderPanel Margin="{StaticResource HistoryTablePlaceholderPanelMargin}"
RowHeight="{StaticResource HistoryTableRowHeight}" />
- <Panel Background="{DynamicResource RegionColor}" Opacity="0.75" />
- <Grid RowDefinitions="26,1*,1.5*"
- IsVisible="{Binding IsTransactionHistoryLoaded}"
- Margin="{StaticResource HistoryTablePlaceholderPanelMargin}">
- <c:InfoMessage VerticalAlignment="Center"
- HorizontalAlignment="Center"
- Grid.Row="1"
- Content="Transaction history is empty" />
- </Grid>
+ <Panel Background="{DynamicResource RegionColor}" Opacity="0.90" />
</Panel>
</Panel>
</UserControl>

Remove empty wallet message