Wire in some missing mappings

This commit is contained in:
Timothy Baldridge 2021-09-30 16:18:58 -06:00
parent c345451d6c
commit 16c4dd4a76
2 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,13 @@ namespace Wabbajack.App.Screens
this.OneWayBind(ViewModel, vm => vm.Image, view => view.ModListImage.Source)
.DisposeWith(disposables);
this.OneWayBind(ViewModel, vm => vm.Title, view => view.ModList.Text)
.DisposeWith(disposables);
this.OneWayBind(ViewModel, vm => vm.InstallFolder, view => view.InstallPath.Text,
v => v.ToString())
.DisposeWith(disposables);
this.BindCommand(ViewModel, vm => vm.PlayButton, view => view.PlayGame.Button)
.DisposeWith(disposables);
});

View File

@ -24,6 +24,7 @@ namespace Wabbajack.App.Screens
{
public class LauncherViewModel : ViewModelBase, IActivatableViewModel, IReceiver<ConfigureLauncher>
{
[Reactive]
public AbsolutePath InstallFolder { get; set; }