Rename Receive
MODIFY
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
@@ -10,12 +10,12 @@ using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Wallets;
using WalletWasabi.Fluent.ViewModels.Wallets.Actions;
+using WalletWasabi.Fluent.ViewModels.Wallets.Receive;
using WalletWasabi.Fluent.ViewModels.Wallets.Send;
using WalletWasabi.Gui;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Stores;
using WalletWasabi.Wallets;
-using ReceiveWalletActionViewModel = WalletWasabi.Fluent.ViewModels.Wallets.Receive.ReceiveWalletActionViewModel;
namespace WalletWasabi.Fluent.ViewModels
{
@@ -227,7 +227,7 @@ namespace WalletWasabi.Fluent.ViewModels
actions.Add(new SendViewModel(walletViewModel));
}
- actions.Add(new ReceiveWalletActionViewModel(walletViewModel, Model, BitcoinStore));
+ actions.Add(new ReceiveViewModel(walletViewModel, Model, BitcoinStore));
if (!wallet.KeyManager.IsWatchOnly)
{

RENAME
WalletWasabi.Fluent/ViewModels/Wallets/Receive/ReceiveWalletActionViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Receive/ReceiveViewModel.cs
@@ -19,13 +19,13 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Receive
NavBarPosition = NavBarPosition.None,
Searchable = false,
NavigationTarget = NavigationTarget.DialogScreen)]
- public partial class ReceiveWalletActionViewModel : NavBarItemViewModel
+ public partial class ReceiveViewModel : NavBarItemViewModel
{
[AutoNotify] private string _reference;
[AutoNotify] private HashSet<string> _suggestions;
[AutoNotify] private bool _isExistingAddressesButtonVisible;
- public ReceiveWalletActionViewModel(WalletViewModelBase wallet, WalletManager walletManager, BitcoinStore bitcoinStore)
+ public ReceiveViewModel(WalletViewModelBase wallet, WalletManager walletManager, BitcoinStore bitcoinStore)
{
SelectionMode = NavBarItemSelectionMode.Button;
WasabiWallet = wallet.Wallet;
@@ -33,7 +33,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Receive
_suggestions = GetLabels(walletManager, bitcoinStore);
var nextCommandCanExecute =
- this.WhenAnyValue<ReceiveWalletActionViewModel, string>(x => x.Reference)
+ this.WhenAnyValue<ReceiveViewModel, string>(x => x.Reference)
.ObserveOn(RxApp.MainThreadScheduler)
.Select(reference => !string.IsNullOrEmpty(reference));

MODIFY
WalletWasabi.Fluent/Views/Wallets/Actions/ReceiveWalletActionView.axaml
WalletWasabi.Fluent/Views/Wallets/Actions/ReceiveWalletActionView.axaml
xmlns:vm="using:WalletWasabi.Fluent.ViewModels.Wallets.Actions"
xmlns:receive="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Receive"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:DataType="receive:ReceiveWalletActionViewModel"
+ x:DataType="receive:ReceiveViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Actions.ReceiveWalletActionView">
<c:ContentArea Title="Receive" Caption=""

RENAME
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveWalletActionView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveView.axaml
xmlns:behaviors="using:WalletWasabi.Fluent.Behaviors"
xmlns:i="using:Avalonia.Xaml.Interactivity"
xmlns:receive="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Receive"
- x:DataType="receive:ReceiveWalletActionViewModel"
+ x:DataType="receive:ReceiveViewModel"
x:CompileBindings="True"
- x:Class="WalletWasabi.Fluent.Views.Wallets.Receive.ReceiveWalletActionView">
+ x:Class="WalletWasabi.Fluent.Views.Wallets.Receive.ReceiveView">
<c:ContentArea Title="{Binding Title}"
EnableNext="True" NextContent="Continue"
EnableCancel="True">

RENAME
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveWalletActionView.axaml.cs
WalletWasabi.Fluent/Views/Wallets/Receive/ReceiveView.axaml.cs
@@ -3,9 +3,9 @@ using Avalonia.Markup.Xaml;
namespace WalletWasabi.Fluent.Views.Wallets.Receive
{
- public class ReceiveWalletActionView : UserControl
+ public class ReceiveView : UserControl
{
- public ReceiveWalletActionView()
+ public ReceiveView()
{
InitializeComponent();
}

Rename Receive