pop add wallet in dialog
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/AddWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/AddWalletPageViewModel.cs
@@ -28,7 +28,7 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
Category = "General",
Keywords = new[] { "Wallet", "Add", "Create", "Recover", "Import", "Connect", "Hardware", "ColdCard", "Trezor", "Ledger" },
IconName = "add_circle_regular",
- NavigationTarget = NavigationTarget.FullScreen,
+ NavigationTarget = NavigationTarget.DialogScreen,
NavBarPosition = NavBarPosition.Bottom)]
public partial class AddWalletPageViewModel : NavBarItemViewModel
{
@@ -39,7 +39,6 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
WalletManagerViewModel walletManagerViewModel,
BitcoinStore store)
{
- Title = "Add Wallet";
SelectionMode = NavBarItemSelectionMode.Button;
var walletManager = walletManagerViewModel.WalletManager;
var network = walletManager.Network;
@@ -135,7 +134,6 @@ namespace WalletWasabi.Fluent.ViewModels.AddWallet
var keyManager = await ImportWalletHelper.ImportWalletAsync(walletManager, WalletName, filePath);
- // TODO: get the type from the wallet file
Navigate().To(new AddedWalletPageViewModel(walletManager, keyManager));
}
catch (Exception ex)

MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -113,7 +113,7 @@ namespace WalletWasabi.Fluent.ViewModels
if (!_walletManagerViewModel.WalletManager.AnyWallet(_ => true))
{
- _addWalletPage.Navigate().To(_addWalletPage, NavigationMode.Clear);
+ _fullScreen.To(_addWalletPage, NavigationMode.Clear);
}
}

pop add wallet in dialog