use navigation meta data
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -13,6 +13,7 @@ using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Fluent.ViewModels.Search;
using WalletWasabi.Fluent.ViewModels.Settings;
using WalletWasabi.Fluent.ViewModels.TransactionBroadcasting;
+
namespace WalletWasabi.Fluent.ViewModels
{
public partial class MainViewModel : ViewModelBase, IDialogHost
@@ -156,6 +157,7 @@ namespace WalletWasabi.Fluent.ViewModels
});
AboutViewModel.RegisterLazy(() => new AboutViewModel());
+ AboutViewModel.RegisterLazy(() => new LoadTransactionViewModel());
LegalDocumentsViewModel.RegisterAsyncLazy(
async () =>
@@ -173,5 +175,6 @@ namespace WalletWasabi.Fluent.ViewModels
searchPage.RegisterCategory("General", 0);
searchPage.RegisterCategory("Settings", 1);
}
+
}
}
\ No newline at end of file

MODIFY
WalletWasabi.Fluent/ViewModels/TransactionBroadcasting/LoadTransactionViewModel.cs
WalletWasabi.Fluent/ViewModels/TransactionBroadcasting/LoadTransactionViewModel.cs
@@ -16,7 +16,15 @@ using WalletWasabi.Stores;
namespace WalletWasabi.Fluent.ViewModels.TransactionBroadcasting
{
- public class LoadTransactionViewModel : RoutableViewModel
+ [NavigationMetaData(
+ Title = "Broadcaster",
+ Caption = "Broadcast your transactions here",
+ IconName = "live_regular",
+ Order = 5,
+ Category = "General",
+ Keywords = new[] { "Transaction Id", "Input", "Output", "Amount", "Network", "Fee", "Count", "BTC", "Signed", "Paste", "Import", "Broadcast", "Transaction", },
+ NavBarPosition = NavBarPosition.None)]
+ public partial class LoadTransactionViewModel : RoutableViewModel
{
private SmartTransaction? _finalTransaction;

use navigation meta data