diff --git a/src/ST.Client.Desktop.Avalonia.Demo.App/Startup.ConfigureServices.cs b/src/ST.Client.Desktop.Avalonia.Demo.App/Startup.ConfigureServices.cs index 3214f4b10..6804f0f17 100644 --- a/src/ST.Client.Desktop.Avalonia.Demo.App/Startup.ConfigureServices.cs +++ b/src/ST.Client.Desktop.Avalonia.Demo.App/Startup.ConfigureServices.cs @@ -19,7 +19,7 @@ namespace System.Application.UI { services.AddLogging(cfg => cfg.AddProvider(NullLoggerProvider.Instance)); - services.AddSingleton(); + services.AddSingleton(); } sealed class MockServiceProvider : IServiceProvider diff --git a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/CommunityProxyPage.axaml b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/CommunityProxyPage.axaml index 1ab26b221..4a4438586 100644 --- a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/CommunityProxyPage.axaml +++ b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/CommunityProxyPage.axaml @@ -15,15 +15,15 @@ - + - + @@ -32,20 +32,19 @@ - + - - + diff --git a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml index 72436123e..f0f6a8ba0 100644 --- a/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml +++ b/src/ST.Client.Desktop.Avalonia/Application/UI/Views/Pages/LocalAuthPage.axaml @@ -22,7 +22,7 @@ - diff --git a/src/ST.Client.Desktop/UI/ViewModels/Pages/CommunityProxyPageViewModel.cs b/src/ST.Client.Desktop/UI/ViewModels/Pages/CommunityProxyPageViewModel.cs index ddfeaa60e..31785d847 100644 --- a/src/ST.Client.Desktop/UI/ViewModels/Pages/CommunityProxyPageViewModel.cs +++ b/src/ST.Client.Desktop/UI/ViewModels/Pages/CommunityProxyPageViewModel.cs @@ -1,7 +1,9 @@ using ReactiveUI; using System.Application.Models; +using System.Application.Services; using System.Application.UI.Resx; using System.Collections.Generic; +using System.Threading.Tasks; namespace System.Application.UI.ViewModels { @@ -131,7 +133,10 @@ IsEnable= false, } - - + internal async override Task Initialize() + { + //var client = ICloudServiceClient.Instance.Accelerate; + //ProxyDomains = new List(client.All()); + } } }