Compare commits
5 changed files with 3 additions and 20 deletions
|
|
@ -1,11 +1,5 @@
|
|||
# Changelog
|
||||
|
||||
## [1.0.8-rc22] - unstable
|
||||
|
||||
### Fixed
|
||||
|
||||
User experience login into PostIt
|
||||
|
||||
## [1.0.8-rc21] - unstable
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<PackageVersion Include="Live.Avalonia" Version="1.4.2" />
|
||||
<PackageVersion Include="Mapsui" Version="5.1.0" />
|
||||
<PackageVersion Include="Mapsui.Avalonia12" Version="5.1.0" />
|
||||
<PackageVersion Include="MarkdownViewer.Core" Version="1.0.6-47" />
|
||||
<PackageVersion Include="MarkdownViewer.Core" Version="1.0.5" />
|
||||
<PackageVersion Include="Material.Avalonia" Version="3.21.0" />
|
||||
<PackageVersion Include="AvaloniaUI.DiagnosticsSupport" Version="2.2.3" />
|
||||
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ using Avalonia.Controls;
|
|||
using Avalonia.Controls.ApplicationLifetimes;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Avalonia.Styling;
|
||||
using Avalonia.Threading;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using PostIt.Services;
|
||||
using PostIt.ViewModels;
|
||||
|
|
@ -201,8 +200,7 @@ public partial class App : Application, ILiveView, IVMPusherApp
|
|||
|
||||
public void ConfigureRootView(MainView rootView)
|
||||
{
|
||||
rootView.AttachedToVisualTree += (_, _) =>
|
||||
Dispatcher.UIThread.Post(() => _ = BootOnceAsync());
|
||||
rootView.AttachedToVisualTree += async (_, _) => await BootOnceAsync();
|
||||
|
||||
var sessionStatus = ServiceProvider!.GetRequiredService<SessionStatusViewModel>();
|
||||
sessionStatus.LogoutCompleted += () =>
|
||||
|
|
|
|||
|
|
@ -52,15 +52,7 @@ public partial class BlogsViewModel : ViewModelBase, IActionStatusViewModel
|
|||
}
|
||||
|
||||
OnPropertyChanging(nameof(DraftArticle));
|
||||
try
|
||||
{
|
||||
DraftArticleDocument = value is not null ? new TextDocument(value) : null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
StatusMessage = $"Error setting DraftArticleDocument: {ex.Message}";
|
||||
// Handle any exceptions that might occur when setting the DraftArticleDocument
|
||||
}
|
||||
DraftArticleDocument = value is not null ? new TextDocument(value) : null;
|
||||
OnPropertyChanged(nameof(DraftArticle));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1048,7 +1048,6 @@ public static class HostingExtensions
|
|||
app.UseSwaggerUI();
|
||||
app.UseStaticFiles();
|
||||
app.UseRouting();
|
||||
app.UseAuthentication();
|
||||
app.UseIdentityServer();
|
||||
app.UseAuthorization();
|
||||
app.UseCors("default");
|
||||
|
|
|
|||
Loading…
Reference in a new issue