Skip to content

Commit

Permalink
Fix echo warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pmachapman committed Dec 8, 2024
1 parent ac3bb51 commit 653a6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SIL.XForge.Scripture/Services/MachineProjectService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ protected internal virtual async Task<string> 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!;
}

/// <summary>
Expand Down

0 comments on commit 653a6e8

Please sign in to comment.