mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
WIP
This commit is contained in:
parent
92e1e3e393
commit
149dd9b07e
@ -1,6 +1,7 @@
|
||||
using System;
|
||||
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using ReactiveUI;
|
||||
|
||||
namespace Wabbajack.LoginManagers;
|
||||
|
||||
|
@ -5,7 +5,7 @@ using ReactiveUI;
|
||||
|
||||
namespace Wabbajack
|
||||
{
|
||||
public partial class LoginItemView
|
||||
public partial class LoginItemView : IViewFor<LoginTargetVM>
|
||||
{
|
||||
public LoginItemView()
|
||||
{
|
||||
@ -20,12 +20,10 @@ namespace Wabbajack
|
||||
.BindToStrict(this, view => view.SiteNameText.Text)
|
||||
.DisposeWith(disposable);
|
||||
|
||||
ViewModel.WhenAnyValue(vm => vm.Login.TriggerLogin)
|
||||
.BindToStrict(this, view => view.LoginButton.Command)
|
||||
this.BindCommand(ViewModel, vm => vm.Login.TriggerLogin, view => view.LoginButton)
|
||||
.DisposeWith(disposable);
|
||||
|
||||
ViewModel.WhenAnyValue(vm => vm.Login.ClearLogin)
|
||||
.BindToStrict(this, view => view.LogoutButton.Command)
|
||||
this.BindCommand(ViewModel, vm => vm.Login.ClearLogin, view => view.LogoutButton)
|
||||
.DisposeWith(disposable);
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user