diff --git a/RustTools/App.xaml.cs b/RustTools/App.xaml.cs index 0e3e607..20135b9 100644 --- a/RustTools/App.xaml.cs +++ b/RustTools/App.xaml.cs @@ -71,8 +71,6 @@ public partial class App : Application // Views and ViewModels services.AddTransient(); services.AddTransient(); - //services.AddTransient(); - //services.AddTransient(); services.AddTransient(); services.AddTransient(); diff --git a/RustTools/Views/Concern.xaml.cs b/RustTools/Views/Concern.xaml.cs index 0016924..2fc4f8d 100644 --- a/RustTools/Views/Concern.xaml.cs +++ b/RustTools/Views/Concern.xaml.cs @@ -24,7 +24,7 @@ namespace RustTools.Views; public sealed partial class Concern : Page { public ConcernViewModel ConcernViewModel { get; set; } - public Concern(string v) + public Concern() { ConcernViewModel = App.GetService(); InitializeComponent();