From 653a6e87e10614bf7b77023fdede26b6d435b8eb Mon Sep 17 00:00:00 2001 From: Peter Chapman Date: Mon, 9 Dec 2024 09:31:07 +1300 Subject: [PATCH] Fix echo warning --- src/SIL.XForge.Scripture/Services/MachineProjectService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SIL.XForge.Scripture/Services/MachineProjectService.cs b/src/SIL.XForge.Scripture/Services/MachineProjectService.cs index 1d6ba5b8c2..ac636f9db0 100644 --- a/src/SIL.XForge.Scripture/Services/MachineProjectService.cs +++ b/src/SIL.XForge.Scripture/Services/MachineProjectService.cs @@ -1028,7 +1028,7 @@ protected internal virtual async Task GetTargetLanguageAsync(SFProject p { // Echo requires the target and source language to be the same, as it outputs your source texts bool useEcho = await featureManager.IsEnabledAsync(FeatureFlags.UseEchoForPreTranslation); - return useEcho ? GetSourceLanguage(project) : project.WritingSystem.Tag; + return useEcho ? GetSourceLanguage(project) : project.WritingSystem.Tag!; } ///