Rename to TransactionBuilder
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -200,9 +200,9 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
// Generate the PSBT
- IoC.Get<IShell>().AddOrSelectDocument(() => new TransactionViewerViewModel(null));
+ IoC.Get<IShell>().AddOrSelectDocument(() => new TransactionBuilderViewModel(null));
- var txviewer = IoC.Get<IShell>().Documents.OfType<TransactionViewerViewModel>().FirstOrDefault();
+ var txviewer = IoC.Get<IShell>().Documents.OfType<TransactionBuilderViewModel>().FirstOrDefault();
if (txviewer is null)
throw new InvalidOperationException("Just added ViewModel and it is missing.");

RENAME
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBuilderView.xaml
RENAME
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerView.xaml.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBuilderView.xaml.cs
@@ -4,11 +4,11 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
- public class TransactionViewerView : UserControl
+ public class TransactionBuilderView : UserControl
{
- public TransactionViewerView()
+ public TransactionBuilderView()
{
- this.InitializeComponent();
+ InitializeComponent();
}
private void InitializeComponent()

RENAME
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionBuilderViewModel.cs
@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
- public class TransactionViewerViewModel : WalletActionViewModel
+ public class TransactionBuilderViewModel : WalletActionViewModel
{
private string _errorMessage;
private string _successMessage;
@@ -49,7 +49,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
set => this.RaiseAndSetIfChanged(ref _successMessage, value);
}
- public TransactionViewerViewModel(WalletViewModel walletViewModel) : base("Transaction Viewer", walletViewModel)
+ public TransactionBuilderViewModel(WalletViewModel walletViewModel) : base("Transaction Builder", walletViewModel)
{
}
@@ -62,7 +62,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
if (Disposables != null)
{
- throw new Exception("Transaction Viewer was opened before it was closed.");
+ throw new Exception("Transaction Builder was opened before it was closed.");
}
Disposables = new CompositeDisposable();

Rename to TransactionBuilder