mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
565 B
C#
20 lines
565 B
C#
using System.Reactive.Disposables;
|
|
using ReactiveUI;
|
|
using Wabbajack.App.Views;
|
|
|
|
namespace Wabbajack.App.Screens;
|
|
|
|
public partial class ErrorPageView : ScreenBase<ErrorPageViewModel>
|
|
{
|
|
public ErrorPageView()
|
|
{
|
|
InitializeComponent();
|
|
this.WhenActivated(disposables =>
|
|
{
|
|
this.Bind(ViewModel, vm => vm.Prefix, view => view.Prefix.Text)
|
|
.DisposeWith(disposables);
|
|
this.Bind(ViewModel, vm => vm.ShortMessage, view => view.Message.Text)
|
|
.DisposeWith(disposables);
|
|
});
|
|
}
|
|
} |