diff --git a/Flow.Launcher.Plugin/Query.cs b/Flow.Launcher.Plugin/Query.cs index dfa9e5df1..3fcf3c1d7 100644 --- a/Flow.Launcher.Plugin/Query.cs +++ b/Flow.Launcher.Plugin/Query.cs @@ -16,9 +16,7 @@ namespace Flow.Launcher.Plugin { Search = search; RawQuery = rawQuery; -#pragma warning disable 618 Legacy Support Terms = terms; -#pragma warning restore 618 SearchTerms = searchTerms; ActionKeyword = actionKeyword; } @@ -81,7 +79,7 @@ namespace Flow.Launcher.Plugin /// /// strings from second search (including) to last search /// - public string SecondToEndSearch => SearchTerms.Length > 1? _secondToEndSearch ??= string.Join(' ', SearchTerms[1..]]) : ""; + public string SecondToEndSearch => SearchTerms.Length > 1 ? (_secondToEndSearch ??= string.Join(' ', SearchTerms[1..])) : ""; /// /// Return second search split by space if it has