diff --git a/Wabbajack.App.Wpf/UserIntervention/ManualDownloadHandler.cs b/Wabbajack.App.Wpf/UserIntervention/ManualDownloadHandler.cs index ba20bdcb..a0e83693 100644 --- a/Wabbajack.App.Wpf/UserIntervention/ManualDownloadHandler.cs +++ b/Wabbajack.App.Wpf/UserIntervention/ManualDownloadHandler.cs @@ -19,7 +19,7 @@ public class ManualDownloadHandler : BrowserTabViewModel var md = Intervention.Archive.State as Manual; HeaderText = $"Manual download ({md.Url.Host})"; - + Instructions = string.IsNullOrWhiteSpace(md.Prompt) ? $"Please download {archive.Name}" : md.Prompt; await NavigateTo(md.Url); diff --git a/Wabbajack.App.Wpf/Views/BrowserTabView.xaml b/Wabbajack.App.Wpf/Views/BrowserTabView.xaml index d6b9d8c4..1b1a0545 100644 --- a/Wabbajack.App.Wpf/Views/BrowserTabView.xaml +++ b/Wabbajack.App.Wpf/Views/BrowserTabView.xaml @@ -1,4 +1,4 @@ - - - - - - - _ - - + - + diff --git a/Wabbajack.App.Wpf/Views/BrowserTabView.xaml.cs b/Wabbajack.App.Wpf/Views/BrowserTabView.xaml.cs index 3e514008..87222525 100644 --- a/Wabbajack.App.Wpf/Views/BrowserTabView.xaml.cs +++ b/Wabbajack.App.Wpf/Views/BrowserTabView.xaml.cs @@ -13,19 +13,21 @@ public partial class BrowserTabView : IDisposable { private readonly CompositeDisposable _compositeDisposable; - public BrowserTabView(BrowserTabViewModel vm) + public BrowserTabView() { _compositeDisposable = new CompositeDisposable(); InitializeComponent(); Browser.Browser.Source = new Uri("http://www.google.com"); + + /* vm.Browser = Browser; - DataContext = vm; vm.WhenAnyValue(vm => vm.HeaderText) .BindTo(this, view => view.HeaderText.Text) .DisposeWith(_compositeDisposable); + */ - Start().FireAndForget(); + //Start().FireAndForget(); } private async Task Start() diff --git a/Wabbajack.App.Wpf/Views/MainWindow.xaml b/Wabbajack.App.Wpf/Views/MainWindow.xaml index fd9111e6..47e1d248 100644 --- a/Wabbajack.App.Wpf/Views/MainWindow.xaml +++ b/Wabbajack.App.Wpf/Views/MainWindow.xaml @@ -9,6 +9,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:viewModels="clr-namespace:Wabbajack.View_Models" xmlns:behaviors="clr-namespace:IKriv.Windows.Controls.Behaviors" + xmlns:views="clr-namespace:Wabbajack.Views" ShowTitleBar="False" Title="WABBAJACK" Width="1280" @@ -23,6 +24,33 @@ UseLayoutRounding="True" WindowTitleBrush="{StaticResource MahApps.Brushes.Accent}" mc:Ignorable="d"> + + + + + + + + WABBAJACK 3.0.0 + + + + + + + + + + + + + + + @@ -35,53 +63,23 @@ - + - - - - + + @@ -96,12 +94,12 @@ Command="{Binding CopyVersionCommand}" Content="{Binding VersionDisplay}"> - +