public WelcomePageViewModel(AddWalletPageViewModel addWalletPage)
 {
     GetStartedCommand = ReactiveCommand.Create(() =>
     {
         if (!Services.WalletManager.HasWallet())
         {
             Navigate().To(addWalletPage);
         }
         else
         {
             Close();
         }
     });
 }
        public WelcomePageViewModel(AddWalletPageViewModel addWalletPage)
        {
            SetupCancel(enableCancel: false, enableCancelOnEscape: false, enableCancelOnPressed: false);
            EnableBack = false;

            GetStartedCommand = ReactiveCommand.Create(() =>
            {
                if (!Services.WalletManager.HasWallet())
                {
                    Navigate().To(addWalletPage);
                }
                else
                {
                    Close();
                }
            });

            SelectedIndex = 0;

            NextCommand = ReactiveCommand.Create(() => SelectedIndex++, this.WhenAnyValue(x => x.SelectedIndex).Select(c => c < NumberOfPages - 1));
            PrevCommand = ReactiveCommand.Create(() => SelectedIndex--, this.WhenAnyValue(x => x.SelectedIndex).Select(c => c > 0));
        }