From 2ac6ed41772e0196179fd22e99713d24a1844fb3 Mon Sep 17 00:00:00 2001 From: Heku Date: Tue, 2 Jul 2024 05:39:36 +0800 Subject: [PATCH] Fix typos (#16183) --- src/Android/Avalonia.Android/SingleViewLifetime.cs | 2 +- src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Android/Avalonia.Android/SingleViewLifetime.cs b/src/Android/Avalonia.Android/SingleViewLifetime.cs index e71f4e0333..b5dbf38c64 100644 --- a/src/Android/Avalonia.Android/SingleViewLifetime.cs +++ b/src/Android/Avalonia.Android/SingleViewLifetime.cs @@ -10,7 +10,7 @@ internal class SingleViewLifetime : ISingleViewApplicationLifetime, ISingleTopLe private AvaloniaMainActivity? _activity; /// - /// Since Main Activity can be swapped, we should adjust litetime as well. + /// Since Main Activity can be swapped, we should adjust lifetime as well. /// public AvaloniaMainActivity Activity { diff --git a/src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs b/src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs index 13a4ac51d2..7574c55042 100644 --- a/src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs +++ b/src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs @@ -9,12 +9,12 @@ namespace Avalonia public static AppBuilder UsePlatformDetect(this AppBuilder builder) { // We don't have the ability to load every assembly right now, so we are - // stuck with manual configuration here + // stuck with manual configuration here // Helpers are extracted to separate methods to take the advantage of the fact // that CLR doesn't try to load dependencies before referencing method is jitted // Additionally, by having a hard reference to each assembly, // we verify that the assemblies are in the final .deps.json file - // so .NET Core knows where to load the assemblies from,. + // so .NET Core knows where to load the assemblies from. if (OperatingSystemEx.IsWindows()) { LoadWin32(builder);