From d537ce22f8d2a2c0c61f7f3d05a6084e81565d65 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sun, 13 Jul 2025 16:08:28 +0800 Subject: [PATCH] Fix init issue --- Flow.Launcher.Infrastructure/TranslationMapping.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Flow.Launcher.Infrastructure/TranslationMapping.cs b/Flow.Launcher.Infrastructure/TranslationMapping.cs index 6d4feccd4..58754cf90 100644 --- a/Flow.Launcher.Infrastructure/TranslationMapping.cs +++ b/Flow.Launcher.Infrastructure/TranslationMapping.cs @@ -8,9 +8,9 @@ namespace Flow.Launcher.Infrastructure { private bool constructed; - // Asssuming one original item maps to multi translated items - // list[i] is the last translated index + 1 of original index i - private readonly List originalToTranslated = []; + // Asssuming one original item maps to multi translated items + // list[i] is the last translated index + 1 of original index i + private readonly List originalToTranslated = new List(); public void AddNewIndex(int translatedIndex, int length) {